Georg Bauer
ed99b33b07
updated german language file
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 10:32:46 +00:00
Georg Bauer
571d94fd3a
updated .po/.mo files for new message IDs and new line numbers
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 10:27:41 +00:00
Georg Bauer
ce0876bcc4
added ro and cy to the LANGUAGES setting
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 10:25:02 +00:00
Georg Bauer
87bf29f3b7
fixes #747 - new welsh translation. Thx Esaj.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 08:35:22 +00:00
Georg Bauer
0639a874ed
fixes #756 - added new romanian translation (thx. tibimicu).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 08:24:49 +00:00
Adrian Holovaty
3aa236e10d
Changed RSS urlconf to accept any character for param -- not just slashes and alphanumerics
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 00:40:47 +00:00
Adrian Holovaty
de5ea0d879
Added Slovak (sk) translation. Thanks, Vlado
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 03:42:38 +00:00
Adrian Holovaty
d4df074d41
Fixed #109 -- Created DATE_FORMAT, DATETIME_FORMAT and TIME_FORMAT settings.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:49:03 +00:00
Adrian Holovaty
5defabca11
Reordered MEDIA_ROOT and MEDIA_URL in global_settings so they're not in the COMMENTS section
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:16:24 +00:00
Adrian Holovaty
4947ae42b8
Fixed #732 -- Updated de translation. Thanks, lucky@knup.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:34:16 +00:00
Adrian Holovaty
611015d858
Fixed #738 -- Updated cs translation. Thanks, radek svarz
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:32:19 +00:00
Adrian Holovaty
c55bb7ee40
Fixed #728 -- Updated Norwegian translation. Thanks, Espen
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 16:40:35 +00:00
Adrian Holovaty
a734759fa0
Renamed language no_NB to no
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 16:09:38 +00:00
Adrian Holovaty
9d188cf3bb
Added Norwegian translation -- Thanks Espen
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 15:30:15 +00:00
Adrian Holovaty
0ac931f38c
Companion .mo-file checkin to [1077]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 14:56:12 +00:00
Adrian Holovaty
9f92a2b92b
Renamed 'Traditional Chinese' to 'Simplified Chinese' and updated po files
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 14:53:24 +00:00
Jacob Kaplan-Moss
5cf8f68423
Merged i18n branch into the trunk! Fixes #65 , and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 04:59:46 +00:00
Adrian Holovaty
d310b108f4
Changed global_settings.TEMPLATE_LOADERS to be same as default project_template.settings.TEMPLATE_LOADERS
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25 02:02:58 +00:00
Adrian Holovaty
9de01b157f
Removed duplicate LANGUAGE_CODE from project_template/settings. Thanks, EspenG
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 16:10:31 +00:00
Adrian Holovaty
56022ea314
Added TIME_ZONE and LANGUAGE_CODE to stock settings file created by 'django-admin startproject
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 16:03:24 +00:00
Adrian Holovaty
f07e5d4f5d
Fixed #627 -- BACKWARDS-INCOMPATIBLE CHANGE. Admin is now an app, not a middleware. See BackwardsIncompatibleChanges for a full list of changes and information on how to update your code.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 01:09:05 +00:00
Adrian Holovaty
b4fd513f9f
Moved views.admin.main to contrib.admin.views.main. Refs #627 . Note that this is still backwards-compatible, assuming people are using django.conf.urls.admin as their admin URLconf
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 04:58:34 +00:00
Adrian Holovaty
1cde1e8e59
Removed jsvalidation line in django.conf.urls.admin -- that doesn't exist
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 04:42:02 +00:00
Adrian Holovaty
aed1930133
Moved django.views.admin.template and django.views.admin.doc to django.contrib.admin.views. Refs #627
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 04:40:47 +00:00
Wilson Miner
72442152d2
Fixed #638 and cleaned up some CSS
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 20:22:12 +00:00
Adrian Holovaty
8b7ebca68a
Changed global_settings.ADMIN_FOR from [] to ()
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 04:36:51 +00:00
Adrian Holovaty
57b4f231fd
Fixed #583 -- Added app_directories template loader, which searches for templates in 'templates' directory in each INSTALLED_APPS package. It's turned off by default.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 02:37:50 +00:00
Adrian Holovaty
f808d1bb8c
Removed django/conf/admin_templates/changelist_generic.html -- a leftover, legacy template that's no longer used
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-16 20:52:11 +00:00
Adrian Holovaty
24154b2166
Fixed #225 -- Added first stab at MS SQL Server support (via ADO). Thanks to gmilas@gmail.com for the patch
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-15 01:37:16 +00:00
Adrian Holovaty
7aefff7833
Fixed #582 -- Added support for loading templates from Python eggs, and a TEMPLATE_LOADERS setting, which defines which loaders to use. Thanks, Sune
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 22:22:12 +00:00
Adrian Holovaty
f2088d456c
Fixed #618 -- Added DATABASE_PORT setting. Thanks, Esaj
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 03:43:01 +00:00
Wilson Miner
5f5db2c236
Added .hidden class to admin styles for future use.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 21:49:31 +00:00
Adrian Holovaty
b6fd05e445
Added CACHE_MIDDLEWARE_KEY_PREFIX to global_settings
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 01:02:19 +00:00
Adrian Holovaty
ab9aacd4db
Fixed #333 and #440 -- Split DEFAULT_MIME_TYPE setting into DEFAULT_CONTENT_TYPE and DEFAULT_CHARSET. Thanks, Maniac.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 02:27:08 +00:00
Adrian Holovaty
c3fa47edb8
Added USE_FLAT_PAGES setting, which defaults to True.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-05 23:36:17 +00:00
Jacob Kaplan-Moss
837afc5a29
Changed default JING_PATH setting to be something that might actually be useful.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-04 18:05:37 +00:00
Jacob Kaplan-Moss
bab70003fe
Fixed #574 - small CSS issue in admin tables. Thanks, Hein-Pieter
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 22:36:48 +00:00
Jacob Kaplan-Moss
808b3f4b91
Fixed #106 - "Add another" now correctly works in IE - thanks, Paolo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 13:02:34 +00:00
Jacob Kaplan-Moss
cd34c163cc
Moved JING from django.core.validators into settings where it belongs. Fixes #568 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 16:34:10 +00:00
Jacob Kaplan-Moss
2d1303bd68
Added EMAIL_SUBJECT_PREFIX setting so you can customize the "[Django]" prefix
...
on emails send with mail_admins/mail_managers. Refs #568 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 16:32:21 +00:00
Adrian Holovaty
cac99144fd
Fixed #544 -- Added xmlns and lang attributes to <html> tag in admin_templates/base.html, so that the admin works when served as application/xhtml+xml. Thanks, Sune Kirkeby
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 04:28:18 +00:00
Adrian Holovaty
530cdb5a8d
Fixed #550 -- Default admin template now checks user permissions, hiding apps/modules/actions for which the user doesn't have permissions. Thanks, Jason Huggins
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25 19:08:44 +00:00
Adrian Holovaty
36fc73a45b
Fixed #333 -- Added DEFAULT_MIME_TYPE setting, and set it to 'text/html; charset=utf-8' by default
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23 01:50:01 +00:00
Adrian Holovaty
f55f98f989
Fixed #500 -- Created a TEMPLATE_FILE_EXTENSION setting that lets you override the default '.html' if you want to use a different extension (or none at all) for templates
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-14 01:24:36 +00:00
Adrian Holovaty
fc9d457686
Fixed #458 -- Added /r/ to default admin urlconf
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-04 18:20:57 +00:00
Wilson Miner
a9c36d8db5
Modified admin styles to make headers and buttons readable with images off.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-18 22:27:27 +00:00
Adrian Holovaty
5f37a627da
Fixed #340 -- Default admin settings (in django-admin startproject) now include cache middleware. Thanks, Bless
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-17 14:27:30 +00:00
Adrian Holovaty
72109f4e35
Added SessionMiddleware to MIDDLEWARE_CLASSES in global_settings, so it's available by default.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16 23:02:06 +00:00
Adrian Holovaty
07889c13a6
Fixed #1 -- Added anonymous session support via middleware and request.session. Removed the former request.session, which wasn't being used anyway. Removed auth.Session model. See the BackwardsIncompatibleChanges wiki page for IMPORTANT notes on code you'll have to change and a DB table you'll have to create.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16 22:54:05 +00:00
Jacob Kaplan-Moss
7d374ad597
Added raw_id_admin support to ManyToManyField objects; fixes #260
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16 18:08:37 +00:00
Adrian Holovaty
071037ff80
Changed 'django-admin startproject' to included MIDDLEWARE_CLASSES in settings/main.py.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16 00:41:42 +00:00
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