Skip to content

Removed django-registration-redux #106

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

Merged
merged 2 commits into from
Sep 14, 2017
Merged

Removed django-registration-redux #106

merged 2 commits into from
Sep 14, 2017

Conversation

vaibhavsingh97
Copy link
Member

Status:

  • Ready
  • In Development
  • On Hold

Which issue does this PR fix?:
fixes #104

Brief description of what this PR does:
This PR is for removing django-registration-redux model.

('Ibrahim Jarif','jarifibrahim@gmail.com'),
('Tapasweni Pathak', 'tapaswenipathak@gmail.com'),
('Nikhita Raghunath', 'nikitaraghunath@gmail.com'),
('Ibrahim Jarif', 'jarifibrahim@gmail.com'),
Copy link
Member

Choose a reason for hiding this comment

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

@vaibhavsingh97 Please remove these spaces

Copy link
Member Author

Choose a reason for hiding this comment

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

@anubhakushwaha According to PEP 8, we should have spaces. If you want i can remove.

Copy link
Member

Choose a reason for hiding this comment

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

@vaibhavsingh97 Ooh that's interesting, we would love to learn more,Is this the place? https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces

Copy link
Member Author

Choose a reason for hiding this comment

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

LOGIN_REDIRECT_URL = 'home'
# and are trying to access pages requiring authentication
LOGIN_URL = '/accounts/login/'
LOGOUT_REDIRECT_URL = 'home'

Copy link
Member

Choose a reason for hiding this comment

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

@vaibhavsingh97 Remove this extra line

Copy link
Member

@anubhakushwaha anubhakushwaha left a comment

Choose a reason for hiding this comment

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

Just the minor changes, else LGTM

Copy link
Member

@anubhakushwaha anubhakushwaha left a comment

Choose a reason for hiding this comment

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

Remove unit tests for now

@coveralls
Copy link

Coverage Status

Coverage decreased (-4.9%) to 90.196% when pulling 118af87 on vaibhavsingh97:develop into f689520 on OpenSourceHelpCommunity:develop.

@vaibhavsingh97
Copy link
Member Author

@anubhakushwaha I had made suggested change. Please merge

@anubhakushwaha
Copy link
Member

@vaibhavsingh97 Just mention the reason for the decrease in coverage for everyone and it's ready to be merged.

@vaibhavsingh97
Copy link
Member Author

vaibhavsingh97 commented Sep 14, 2017

@anubhakushwaha @tapasweni-pathak @nikhita Please find the detailed report 📓

Reason for decrease in coverage

Before removal of test case:

Name Stmts Miss Cover
main/init.py 0 0 100%
main/admin.py 6 0 100%
main/apps.py 4 4 0%
main/migrations/0001_initial.py 6 0 100%
main/migrations/init.py 0 0 100%
main/models.py 12 1 92%
main/regbackend.py 17 0 100%
main/tests.py 46 0 100%
main/urls.py 3 0 100%
main/views.py 8 0 100%
Total 102 5 95%

Statement covered: 102
Missed Statement: 5
Percentage: (102-5)/102 * 100 = 95%

After removal of test case:

Name Stmts Miss Cover
main/init.py 0 0 100%
main/admin.py 6 0 100%
main/apps.py 4 4 0%
main/migrations/0001_initial.py 6 0 100%
main/migrations/init.py 0 0 100%
main/models.py 12 1 92%
main/tests.py 12 0 100%
main/urls.py 3 0 100%
main/views.py 8 0 100%
Total 51 5 90%

Statement covered: 51
Missed Statement: 5
Percentage: (51-5)/51 * 100 = 90%

@anubhakushwaha
Copy link
Member

Merging, keeping the two commits separate just as a reminder that we have removed the test cases as well.

@anubhakushwaha anubhakushwaha merged commit 70772d8 into OpenSourceHelpCommunity:develop Sep 14, 2017
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.

3 participants