django-settings
sqlite3.OperationalError: unable to open database file
I get this error when setting up a server in Django. It is sqlite3 which means it should create the .db file but it doesn\'t seem to be doing so. I\'ve stipulated SQLite as the backend and an absolute[详细]
2023-04-11 16:10 分类:问答Django nginx admin media
I am currently testing moving from Apache mod_wsgi to Nginx and FastCGI I have prepared the whole installation and currently开发者_开发技巧 testing it on a CentOS 5.4 box that runs Django 1.1.2[详细]
2023-04-05 22:46 分类:问答How do I obtain django default settings values NOT defined in my settings.py file?
I must be missing something. I\'m trying to import DEFAULT_CONTENT_TYPE from the settings file. I don\'t define it specifically in my settings.py file, but I was assuming that the default would be av[详细]
2023-03-29 02:36 分类:问答Django - Static Files from App Directories
In a development environment, I\'d like to use static files from the app directories. #settings.py SITE_ROOT = os.path.dirname(os.path.realpath(__file__))[详细]
2023-03-13 22:15 分类:问答django/python logging
I have a pretty weird problem with my logging facility i use inside django/python. The logging is not working anymore since i upgraded to django 1.3. It seems to be related to the logging level and th[详细]
2023-03-13 03:57 分类:问答django - nginx+fastcgi --> Unhandled Exception (after upgrade from Django 1.2.4 to Django 1.3)
I just upgraded from django 1.2.4 to 1.3. I\'m using nginx in conjunction with fastcgi and for some reason every time when I access a page开发者_开发百科 I get this error:[详细]
2023-03-05 09:26 分类:问答DJANGO_SETTINGS_MODULE -specified settings file not loaded?
I\'m migrating a Google App Engine application from Django 0.96 to 1.2. In the process, I noted that the settings file I specified in my main handler was not loaded anymore (instead of the 3 specified[详细]
2023-03-02 14:05 分类:问答How to keep Django app settings in database, or change on-the-fly?
Does anyone have a suggestion on how to create a system that allows me to change settings on the fly? For example, I have a textarea that users can fill, and right now it has a maximum character limit[详细]
2023-02-28 17:17 分类:问答Customised settings files using django-admin.py startproject?
Whenever you run the command django-admin.py startproject, django automatically loads up a default settings file.[详细]
2023-02-25 17:15 分类:问答How to define a default value for a custom Django setting
The Django documentation mentions that you can add your own settings to django.conf.settings. So if my project\'s settings.py defines[详细]
2023-02-23 07:51 分类:问答