summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-07-21Added auto-reload to standalone server! Fixes #113. Thanks very much to ↵Adrian Holovaty
Jason Huggins for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Fixed #92 -- meta.Admin 'fields' parameter is now optional. If it's not ↵Adrian Holovaty
given, Django will use all editable fields by default. This cuts down on redundancy. Also updated relevant docs to reflect the change. git-svn-id: http://code.djangoproject.com/svn/django/trunk@265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Improved 'django-admin runserver' so that it explicitly tells you how to ↵Adrian Holovaty
stop it. Also trapped KeyboardInterrupt so stopping it doesn't give an ugly traceback. git-svn-id: http://code.djangoproject.com/svn/django/trunk@264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Refactored django.views.admin.main to call opts.admin.get_field_objs() only ↵Adrian Holovaty
once, and made sure no code accessed admin.fields directly, in preparation for an upcoming change git-svn-id: http://code.djangoproject.com/svn/django/trunk@263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Fixed #114 -- Changed uses of deprecated 'whrandom' module to 'random'Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Added 'django-admin createsuperuser' and updated tutorial to use it instead ↵Adrian Holovaty
of manually creating the user in the Python interactive prompt git-svn-id: http://code.djangoproject.com/svn/django/trunk@261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Added 'Serving media files' to docs/modpython.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Filled in INSTALL and README filesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21Fixed #103 -- Changed docs/install.txt to note there is no official version yetAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Added optional rel_name parameter to ManyToManyField, which makes it ↵Adrian Holovaty
possible to many-to-many-relate a single model to another model more than once. Also updated the model docs to reflect this git-svn-id: http://code.djangoproject.com/svn/django/trunk@257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Small code cleanup -- changed django.core.management.get_sql_delete to use ↵Adrian Holovaty
get_m2m_db_table(), and moved get_m2m_db_table() from Field to ManyToManyField, because it's only used by the latter git-svn-id: http://code.djangoproject.com/svn/django/trunk@256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed #123 -- thanks jay!Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Added note about ForeignKey("self"); fixes #100Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Added clarification about 'django-admin.py sqlclear' to docs/tutorial01Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed small bug in print_error() calls in django-adminAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed small problem in [250]Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Added "philosophy" sections to tutorials so they can be styled differentlyJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Added '--settings' option to django-admin. This specifies which settings ↵Adrian Holovaty
module to use, if you don't want to deal with setting the DJANGO_SETTINGS_MODULE environment variable. Refactored django-admin to use optparse. Updated the tutorials to use '--settings' instead of environment variables, which can be confusing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Argh: fixed another bug in [244]Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed really dumb bug in [244]Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Added "reversed" option to get_comment_list templatetag to return comments ↵Jacob Kaplan-Moss
in most-recent-first order. git-svn-id: http://code.djangoproject.com/svn/django/trunk@244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed #97 -- Refactored django-admin.py so that it only contains ↵Adrian Holovaty
command-line-interface code. Moved the actual meat into django/core/management.py git-svn-id: http://code.djangoproject.com/svn/django/trunk@242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed #102 -- Now using text/plain mimetype for exceptions displayed in the ↵Adrian Holovaty
browser, so angle brackets are no longer an issue git-svn-id: http://code.djangoproject.com/svn/django/trunk@241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20'django-admin runserver' now displays the settings module you're using when ↵Adrian Holovaty
it starts up git-svn-id: http://code.djangoproject.com/svn/django/trunk@240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Cleaned up code in django.conf.settings to move DJANGO_SETTINGS_MODULE into ↵Adrian Holovaty
a variable, so other scripts can introspect it. Also made it display a better error message if DJANGO_SETTINGS_MODULE is set to the empty string git-svn-id: http://code.djangoproject.com/svn/django/trunk@239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed ForeignKey('self') so that extra cruft parameters aren't necessary. ↵Adrian Holovaty
Also refactored the way meta.Admin is handled, so that fields aren't initialized until you manually call meta.Admin.get_field_objs() git-svn-id: http://code.djangoproject.com/svn/django/trunk@238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Added 'How can I customize the functionality of the admin interface?' to FAQAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed typos and tightened up docs/url_dispatch.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Changed models.auth.Session.get_session_from_cookie to raise ↵Adrian Holovaty
SessionDoesNotExist instead of SuspiciousOperation if tamper check fails git-svn-id: http://code.djangoproject.com/svn/django/trunk@234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Changed django.views.defaults to use template.Context instead of ↵Adrian Holovaty
core.extensions.DjangoContext git-svn-id: http://code.djangoproject.com/svn/django/trunk@233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Made ModPythonHandler.get_response() tolerant of repr(request) that has an ↵Adrian Holovaty
exception git-svn-id: http://code.djangoproject.com/svn/django/trunk@232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Added missing import to [230]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20Fixed #95 -- Added SECRET_KEY setting instead of hard-coding keys that are ↵Adrian Holovaty
shared for every Django installation. 'django-admin.py startproject' now creates a random SECRET_KEY. The auth and comments modules, and the admin middleware, all use SECRET_KEY now, instead of hard-coded values. git-svn-id: http://code.djangoproject.com/svn/django/trunk@230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Fixed #59 -- Changed hard-coded references to password_change and logout in ↵Adrian Holovaty
admin templates to add /admin/ prefix. Still hard-coded, but you can override it in custom templates if your URL structure is different git-svn-id: http://code.djangoproject.com/svn/django/trunk@228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Fixed #84 -- CREATE TABLE foreign keys now work in MySQLAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Fixed inevitable ReST bug in [224]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Added better description of SlugFieldAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Changed docs/cache to add docs for site-wide caching, via the cache middlewareAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Added 'Running a development server with mod_python' to docs/modpython.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Added note about 'PythonDebug Off' to docs/modpython.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Added some more to docs/modpython.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Removed redundant word from docs/modpython.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Added note to tutorial02 on how to stop the development server on Unix vs. ↵Adrian Holovaty
Windows git-svn-id: http://code.djangoproject.com/svn/django/trunk@219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Added 'How can I see the raw SQL queries Django is running?' to the FAQAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Added 'How to use Django with mod_python' -- docs/modpython.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Fixed the annoying login error that happens in some cases when ↵Adrian Holovaty
REGISTRATION_COOKIE_DOMAIN isn't set. Now, generally you don't have to sete REGISTRATION_COOKIE_DOMAIN unless you want to use multi-domain cookies (such as '.foo.com') git-svn-id: http://code.djangoproject.com/svn/django/trunk@216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Improved error message when DATABASE_ENGINE is invalid. It now displays a ↵Adrian Holovaty
list of all available database backends git-svn-id: http://code.djangoproject.com/svn/django/trunk@215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Fixed bug in example exception in tutorial03 -- thanks, Amit UpadhyayAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Fixed #88 -- settings are now forgiving of single-element INSTALLED_APPS and ↵Adrian Holovaty
TEMPLATE_DIRS without trailing commas. git-svn-id: http://code.djangoproject.com/svn/django/trunk@213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19Fixed #67 -- Human-readable name is now optional in model fields. If a ↵Adrian Holovaty
second positional argument isn't given, Django will use the first argument, converting underscores to spaces. This change is fully backwards-compatible. git-svn-id: http://code.djangoproject.com/svn/django/trunk@212 bcc190cf-cafb-0310-a4f2-bffc1f526a37