Django & Pycharm keep giving me URL error

I keep geeting this Login although in my project I make zero mention of log inPage not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/login/ Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order:

admin/ The current path, login/, didn’t match any of these.

You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page. my actual code project django-admin mysite settings""" Django settings for mysite project.

Generated by 'django-admin startproject' using Django 4.1.3.

    from pathlib import Path

    # Build paths inside the project like this: BASE_DIR / 'subdir'.
    BASE_DIR = Path(__file__).resolve().parent.parent


    # Quick-start development settings - unsuitable for production
    # See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/

    # SECURITY WARNING: keep the secret key used in production secret!
    SECRET_KEY = "secret code"

    # SECURITY WARNING: don't run with debug turned on in production!
    DEBUG = True

    ALLOWED_HOSTS = []


   # Application definition
 
You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
July 04, 2024 - 17:36:23
Django version 4.2.13, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.


indicates that everything is corrects but weather  you command line or click on the http: address you get the above error ... i've reset the ide updated os & pycharm no matter what i get the above error even tried a work around in settings LOGIN = False still got the error .... anyone know how to solve this problem 

You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
July 04, 2024 - 17:36:23
Django version 4.2.13, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.


indicates that everything is corrects but weather  you command line or click on the http: address you get the above error ... i've reset the ide updated os & pycharm no matter what i get the above error even tried a work around in settings LOGIN = False still got the error .... anyone know how to solve this problem 
Вернуться на верх