sexta parte 2

This commit is contained in:
2026-05-22 22:42:41 -03:00
parent b61692bfe0
commit b0f7ca641d
17 changed files with 107 additions and 48 deletions

View File

@@ -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'

View File

@@ -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'))
]