|
|
@ -25,8 +25,11 @@ urlpatterns = [ |
|
|
path('obreros/', admin.site.urls), |
|
|
path('obreros/', admin.site.urls), |
|
|
path('gestion/', include('gestion.urls')), |
|
|
path('gestion/', include('gestion.urls')), |
|
|
|
|
|
|
|
|
|
|
|
path("accounts/", include("accounts.urls")), # new |
|
|
path('accounts/login/', auth_views.LoginView.as_view(), name='login'), |
|
|
path('accounts/login/', auth_views.LoginView.as_view(), name='login'), |
|
|
path('accounts/logout/', auth_views.LogoutView.as_view(), name='logout'), |
|
|
path('accounts/logout/', auth_views.LogoutView.as_view(), name='logout'), |
|
|
|
|
|
path("accounts/", include("django.contrib.auth.urls")), |
|
|
|
|
|
|
|
|
path("", TemplateView.as_view(template_name="gestion/index.html"), name="principal"), # new |
|
|
path("", TemplateView.as_view(template_name="gestion/index.html"), name="principal"), # new |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
|