Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
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: >

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread Ana Jiménez
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

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
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 >

problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread Ana Jiménez
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