-
Notifications
You must be signed in to change notification settings - Fork 845
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
Develop #792
base: master
Are you sure you want to change the base?
Develop #792
Conversation
@@ -29,7 +29,7 @@ class Migration(migrations.Migration): | |||
('last_name', models.CharField(blank=True, max_length=150, verbose_name='last name')), | |||
('email', models.EmailField(blank=True, max_length=254, verbose_name='email address')), | |||
('is_staff', models.BooleanField(default=False, help_text='Designates whether the user can log into this admin site.', verbose_name='staff status')), | |||
('is_active', models.BooleanField(default=True, help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active')), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you need this change?
you should use auto replace carefully and check what it changes before applying changes because migrations may fail ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it was casually
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see you pushed db.sqlite3 and migration was not reverted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -22,4 +22,8 @@ | |||
urlpatterns = [ | |||
path("admin/", admin.site.urls), | |||
path("", include("taxi.urls", namespace="taxi")), | |||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) | |||
path("registration/", include("django.contrib.auth.urls")), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder how this path works for you without setting LOGIN_URL
in settings 🤔
Default path for auth urls in django is accounts/
and it will not resolve default login/logout with a different name unless you specify LOGIN_URL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but please revert changes to migration file
No description provided.