sexta parte 2
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -39,6 +39,7 @@ INSTALLED_APPS = [
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'polls.apps.PollsConfig',
|
||||
'accounts.apps.AccountsConfig',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
@@ -120,3 +121,7 @@ STATIC_URL = 'static/'
|
||||
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, 'public/static')
|
||||
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
|
||||
|
||||
LOGIN_REDIRECT_URL = '/ola'
|
||||
LOGIN_REDIRECT_URL = '/ola'
|
||||
|
||||
|
||||
@@ -20,4 +20,6 @@ from django.urls import path, include
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('', include('polls.urls')),
|
||||
path('', include('accounts.urls')),
|
||||
path('accounts/', include('django.contrib.auth.urls'))
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user