Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added org info API #127

Merged
merged 11 commits into from
Jun 22, 2020
Merged

Conversation

sahil9001
Copy link
Member

@sahil9001 sahil9001 commented Jun 7, 2020

Fixes #120

Description

Include a summary of the change and relevant motivation/context. List any dependencies that are required for this change.
This commit adds the functionality to fetch the information about any
organisation by an authorised user, so that users can check the details
before joining them.

Type of Change: (Delete irrelevant options)

  • Code
  • Testing

Code/Quality Assurance Only (Delete irrelevant options)

  • New feature (non-breaking change which adds functionality pre-approved by mentors)

How Has This Been Tested?

Describe the tests you ran to verify your changes. Provide instructions or GIFs so we can reproduce. List any relevant details for your test.

(envteesco) sahil@laptop:~/Desktop/Projects/teesco-backend$ python manage.py test
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
..........................................................
----------------------------------------------------------------------
Ran 58 tests in 11.920s

Checklist:

  • My PR follows the style guidelines of this project
  • I have performed a self-review of my own code or materials
  • I have commented my code or provided relevant documentation, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • Any dependent changes have been merged
  • Update Swagger documentation and the exported file at /docs folder
  • Update requirements.txt

Code/Quality Assurance

  • My changes generate no new warnings
  • My PR currently breaks something (fix or feature that would cause existing functionality to not work as expected)
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been published in downstream modules

Copy link
Member

@anshsrtv anshsrtv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done @sahil9001 🚀 ... I have commented on some parts of code.. Please check them.

org/urls.py Outdated Show resolved Hide resolved
org/views.py Outdated Show resolved Hide resolved
	modified:   org/urls.py
	modified:   org/views.py
	new file:   tests/org/tests_org_info.py
This commit adds the functionality to fetch the information about any
organisation by an authorised user, so that users can check the details
before joining them.

Fixes ECellNitrr#120
@sahil9001 sahil9001 requested a review from anshsrtv June 15, 2020 05:02
@sahil9001
Copy link
Member Author

@naveennvrgup Can we merge this now?

Copy link
Contributor

@naveennvrgup naveennvrgup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Nice test cases 🔥
  2. Please fix conflicts

org/views.py Outdated Show resolved Hide resolved
org/views.py Outdated Show resolved Hide resolved
org/views.py Outdated Show resolved Hide resolved
sahil9001 and others added 9 commits June 18, 2020 20:37
Co-authored-by: Naveen Sundar <[email protected]>
Co-authored-by: Naveen Sundar <[email protected]>
Co-authored-by: Naveen Sundar <[email protected]>
	modified:   org/urls.py
	modified:   org/views.py
	new file:   tests/org/tests_org_info.py
This commit adds the functionality to fetch the information about any
organisation by an authorised user, so that users can check the details
before joining them.

Fixes ECellNitrr#120
	modified:   org/views.py
Copy link
Contributor

@naveennvrgup naveennvrgup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Great job @sahil9001
  2. tested locally works as expected

@naveennvrgup naveennvrgup merged commit 227b764 into ECellNitrr:dev Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

org info API
3 participants