Commit Graph

299 Commits

Author SHA1 Message Date
Adrian Holovaty 43f3b984e8 Removed <meta http-equiv='content-type'...> from admin base template, because Django sends out correct content-type HTTP header as of [340]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-12 03:59:38 +00:00
Adrian Holovaty 199938649e Fixed #81 -- Admin now supports primary_key=True for non-integer fields. Note that you'll have to make a change to your database if you're using a previous Django installation and want to use non-integer primary key fields. See the BackwardsIncompatibleChanges wiki page for info.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 19:32:38 +00:00
Adrian Holovaty 0d060ba547 Updated PPK's URL in comments of admin_media/js/core.js
git-svn-id: http://code.djangoproject.com/svn/django/trunk@453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 01:27:13 +00:00
Adrian Holovaty 9a6e8142b8 Removed media.ljworld.com reference from admin_media/js/admin/DateTimeShortcuts.js
git-svn-id: http://code.djangoproject.com/svn/django/trunk@452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 01:14:50 +00:00
Adrian Holovaty d8f5cad47e Removed media.ljworld.com reference from admin_media/js/SelectFilter2.js. Refs #49
git-svn-id: http://code.djangoproject.com/svn/django/trunk@451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 01:01:54 +00:00
Adrian Holovaty 5144a60efc Removed unnecessary code from admin_media/js
git-svn-id: http://code.djangoproject.com/svn/django/trunk@450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 00:44:48 +00:00
Adrian Holovaty 65f7e142e4 Removed admin_media/js/admin/add_calendars.js -- it wasn't being used
git-svn-id: http://code.djangoproject.com/svn/django/trunk@449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 00:40:08 +00:00
Adrian Holovaty e2426e68e6 Removed unnecessary code from admin_media/js/admin/add_calendars.js
git-svn-id: http://code.djangoproject.com/svn/django/trunk@448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 00:37:56 +00:00
Adrian Holovaty a537a4efa1 Changed 'django-admin startapp' so that it doesn't create the 'urls' directory. People have said they're a bit overwhelmed by the multiple url directories, and this one isn't necessary for basic Django usage. You can always make it yourself if you know what you're doing and want to decouple/distribute your apps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 22:43:35 +00:00
Adrian Holovaty c517960984 Made small cleanups to two default urlconfs, to be clearer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 22:15:14 +00:00
Adrian Holovaty a55598cbdd Refactored the internals of URL parsing to use less code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 20:50:19 +00:00
Jacob Kaplan-Moss 49c6708716 Added doc view for templates that will show the search path for a given template on each site
git-svn-id: http://code.djangoproject.com/svn/django/trunk@392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02 20:29:27 +00:00
Jacob Kaplan-Moss ce0d0cd9e2 Made a bunch of fixes to auto-generated admin documentation:
* Views are no longer "doubled"
    * Links work better (view -> model links and friends were broken)
    * Performance has been improved so now the pages no longer need to be cached.
    


git-svn-id: http://code.djangoproject.com/svn/django/trunk@391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02 19:59:51 +00:00
Jacob Kaplan-Moss 623863d0a4 Fixed #105 -- collapsable fieldsets now work in both ways (thanks, Simon)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02 17:49:49 +00:00
Jacob Kaplan-Moss 2e83364965 Calendar next/prev popups now work in Safari (fixed #2)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02 17:45:53 +00:00
Adrian Holovaty 77faac0cb7 Changed SEND_BROKEN_LINK_EMAILS from True to False in global_settings -- it was causing too much confusion with improperly configured/missing mail servers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 20:01:18 +00:00
Adrian Holovaty d4a9a4f83a Fixed #223 -- Changed breadcrumbs in admin doc templates to use relative, not absolute, URLs. Thanks, Drew Amato
git-svn-id: http://code.djangoproject.com/svn/django/trunk@337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-29 15:25:31 +00:00
Adrian Holovaty 18e420da02 Added breadcrumbs to password-reset and password-change admin templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 22:54:59 +00:00
Adrian Holovaty 6a12d65b97 Changed admin logged_out template NOT to hard-code /admin/ as the 'Home'. Refs #158
git-svn-id: http://code.djangoproject.com/svn/django/trunk@326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 22:52:18 +00:00
Jacob Kaplan-Moss 0bbe1f4425 DateTimeShortcuts.js now calls the right dismiss function; thanks jhernandez
git-svn-id: http://code.djangoproject.com/svn/django/trunk@300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 21:56:50 +00:00
Wilson Miner f1f952761e Uncommented link to Change password now that it works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 16:40:36 +00:00
Wilson Miner 8ef422d070 Added password reset templates to admin_templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 15:02:40 +00:00
Adrian Holovaty a1f479e080 Fixed #147 -- Thanks, Robin Munn!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 04:18:03 +00:00
Jacob Kaplan-Moss e320a0936e Added sqlite3 database backend -- somewhat tested, but probably not 100% perfect.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 03:15:43 +00:00
Adrian Holovaty dbfb35b542 Fixed #145 -- Changed admin logout to use views.auth.login.logout, which uses redirects to ensure cookies aren't stale. Thanks, sdelatorre@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 00:49:53 +00:00
Adrian Holovaty 45c334dd8b Cleaned up code in django.conf.settings to move DJANGO_SETTINGS_MODULE into 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-20 06:05:32 +00:00
Adrian Holovaty 897d24b220 Fixed #95 -- Added SECRET_KEY setting instead of hard-coding keys that are 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-20 00:37:45 +00:00
Adrian Holovaty 43538e78eb Fixed #59 -- Changed hard-coded references to password_change and logout in 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-19 21:39:52 +00:00
Adrian Holovaty e29afe7974 Fixed #88 -- settings are now forgiving of single-element INSTALLED_APPS and TEMPLATE_DIRS without trailing commas.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 17:58:01 +00:00
Adrian Holovaty 7fa76265ad Fixed #83 -- Fixed spelling error in django.conf.settings. Nice catch, Manuzhai!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 14:44:27 +00:00
Adrian Holovaty a7506973af Moved default admin from media to django/conf/admin_media, so Django is able to introspect their location, in preparation for #76
git-svn-id: http://code.djangoproject.com/svn/django/trunk@185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 22:35:04 +00:00
Adrian Holovaty a7237aafac Fixed #71 -- Changed default admin base_site template to use example.com instead of mysite.com. Thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 20:43:57 +00:00
Adrian Holovaty cfcf3ca1e3 More installation streamlining/automation: Added adminapplist templatetag library and changed the default admin index.html template to display all installed apps that have admins
git-svn-id: http://code.djangoproject.com/svn/django/trunk@127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 23:38:12 +00:00
Adrian Holovaty a22f823e00 More installation streamlining: Added default urlconfs, for both main and admin, to project_template. Changed ROOT_URLCONF in default main and admin settings to point at their respective default urlconfs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 22:58:29 +00:00
Adrian Holovaty 820e12dac6 Temporarily commented-out the link to 'forgotten your password?' on the default admin login.html template
git-svn-id: http://code.djangoproject.com/svn/django/trunk@123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 22:44:37 +00:00
Adrian Holovaty 68baafc110 Added ADMIN_MEDIA_PREFIX setting instead of hard-coding /m/
git-svn-id: http://code.djangoproject.com/svn/django/trunk@108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 16:38:28 +00:00
Jacob Kaplan-Moss 9049477738 Changed [105] to match our code standards
git-svn-id: http://code.djangoproject.com/svn/django/trunk@106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 16:10:04 +00:00
Jacob Kaplan-Moss f69ce6c2b3 django.conf.settings now fails loudly if DJANGO_SETTINGS_MODULE is broken in any way.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 16:07:04 +00:00
Adrian Holovaty 635220c5cc Moved default admin templates from templates.admin to django.conf.admin_templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@94 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 04:02:41 +00:00
Adrian Holovaty d095db81f5 'django-admin.py init' now creates a site in the sites table, and project_template.settings.main.SITE_ID is now set to 1
git-svn-id: http://code.djangoproject.com/svn/django/trunk@93 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 03:48:36 +00:00
Adrian Holovaty 40b8afaf32 Added ROOT_URLCONF and MIDDLEWARE_CLASSES to project_template.settings.admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@91 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 03:12:07 +00:00
Adrian Holovaty 03f72b629d Fixed small bug in auto-generated comment in project_template.settings.main
git-svn-id: http://code.djangoproject.com/svn/django/trunk@83 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:36:26 +00:00
Adrian Holovaty fd5b0fa55c Added project_template.settings.admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@82 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:35:17 +00:00
Adrian Holovaty 5c7b04122a Added DATABASE_PASSWORD stub to project_template/settings/main
git-svn-id: http://code.djangoproject.com/svn/django/trunk@81 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:32:37 +00:00
Adrian Holovaty 8718675469 Changed DEBUG to be True by default in new projects
git-svn-id: http://code.djangoproject.com/svn/django/trunk@80 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:29:10 +00:00
Adrian Holovaty 0bc849ff89 Created django.contrib and moved comments into it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@28 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-14 18:20:03 +00:00
Adrian Holovaty 8c098891e2 Removed World-Online-specific stuff from django.conf.global_settings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-14 04:27:55 +00:00
Adrian Holovaty d3abdd8731 Removed hard-coded Adrian and Jacob in global_settings.ADMINS
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-14 04:03:11 +00:00
Adrian Holovaty ed114e1510 Imported Django from private SVN repository (created from r. 8825)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-13 01:25:57 +00:00