GoogleCloudPlatform / cloud-code-intellij

Plugin to support the Google Cloud Platform in IntelliJ IDEA - Docs and Issues Repository
Apache License 2.0
319 stars 59 forks source link

How to add 'django.contrib.auth' app in cloud code by pycharm #3093

Closed wooxjake closed 2 years ago

wooxjake commented 2 years ago

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

ruomengz commented 2 years ago

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!