MIDDLEWARE = [
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
So, is there any way to use default apps to make login page.?
Hi, there are a lot of discussion in stackoverflow, this looks like a general pycharm and django question. Will close this issue for now, we are tracking in stackoverflow. Thanks!
I deployed Django project using cloud code from pycharm.
but in this sample template, there were not the code in installed_app basic apps like these
'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles',
there was only 'django.contrib.staticfiles' apps.
Also the default middleweres were not completely installed
INSTALLED_APPS = [ 'django.contrib.staticfiles', 'helloapp', ]
MIDDLEWARE = [ 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] So, is there any way to use default apps to make login page.?
https://stackoverflow.com/questions/73300468/how-to-add-django-contrib-auth-app-in-django