from django.urls import path
from . import views
urlpatterns = [
path('login/', views.login_user, name='login'),
path('logout/', views.logout_request, name='logout'),
path('register/', views.registration, name='registration'),
]
On Wed, Apr 17, 2024 at 5:16 PM Ana Jiménez wrote:
>
the file that says i have wrong is this one:
djangoapp/urls.py
# Uncomment the required imports before adding the code
from django.shortcuts import render
from django.http import HttpResponseRedirect, HttpResponse
from django.contrib.auth.models import User
from django.shortcuts import
check your urls.py file to make sure you haven't imported circularly. or
better still, paste your urls.py here
On Wed, Apr 17, 2024 at 4:47 PM Ana Jiménez wrote:
> hi guys, so i'm doing a project and there's a part that says i need to do
> the migrations but when i do that i get this error
>
hi guys, so i'm doing a project and there's a part that says i need to do
the migrations but when i do that i get this error
"Traceback (most recent call last):
File
"/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/urls/resolvers.py",
line
4 matches
Mail list logo