ORA-00904: "USER_TAB_COLS"."COLLATION": invalid identifier

2021-12-13 Thread Kipkemei Adam
Hi, I'm having this error as I try to inspectdb or make migration to Oraclebd. Please assist with a quick fix. C:\inetpub\wwwroot\mysite>python manage.py inspectdb This is an auto-generated Django model module.You'll have to do the following manually to clean this up:* Rearrange models'

Re: Newbie of django

2021-12-13 Thread Marmik Patel
Pycharm is a good option if you want to login to your VPS by ssh, but still it is in beta mode. When it comes to deploy the django site, it's little bit tricky. You can use external proxy parser like gunicorn or uWSGI and use them with Apache or nginx. Marmik On Monday, 13 December 2021 at

getting error while deploying zappa with aws

2021-12-13 Thread Paras Jain
botocore.exceptions.ClientError: An error occurred (AccessDeniedException) when calling the CreateFunction operation: Lambda was unable to encrypt your environment variables because the KMS access was denied. Please check your KMS

Newbie of django

2021-12-13 Thread Keith Hui
I want to start a project by using Django. I originally make use of hosting service for my project. When I setup the django, it seems some installation errors. Are there any simple setup procedures for hosting services? I can use SSH to login the hosting server. Also, are there any good python

update_or_create: OperationalErrorr "Savepoint doesn't exist" update_or_create

2021-12-13 Thread Xinzhou Liu
Hello Django Community, (MySQL 5.7.35 + Django 3.2.9) I got this following error when trying to use *update_or_create* function to update or create data of a model. It only breaks if there is no matched data in the database, but despite this error, the data still gets created. Can

Choosing label in Admin autocomplete_fields widget

2021-12-13 Thread Mark Rossetti
In Django 3.1, we were using autocomplete_fields on Admin edit pages with some foreign keys. To improve usability, we had overridden ModelAdmin.autocomplete_view so that it would provide us with human-readable labels. Very similar to the question and solution in this Stack Overflow post: