Jacob Kaplan-Moss
|
78cff1837a
|
Refactor dictfetch* methods from mysql backend out into a seperate module; this is so that future db backends that need these functions can share them.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-21 15:48:20 +00:00 |
Adrian Holovaty
|
841b426243
|
Cleaned up [269] a tiny bit
git-svn-id: http://code.djangoproject.com/svn/django/trunk@272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-21 15:01:31 +00:00 |
Jacob Kaplan-Moss
|
ccffb19946
|
Fixed #132 -- thanks anonymous user
git-svn-id: http://code.djangoproject.com/svn/django/trunk@270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-21 14:01:17 +00:00 |
Jacob Kaplan-Moss
|
907ae72e81
|
fixes #133 -- thanks Joeri
git-svn-id: http://code.djangoproject.com/svn/django/trunk@269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-21 13:57:42 +00:00 |
Jacob Kaplan-Moss
|
6b514f1aab
|
Fixed #137 -- thanks nesh@studioquattro.co.yu
git-svn-id: http://code.djangoproject.com/svn/django/trunk@268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-21 13:53:33 +00:00 |
Adrian Holovaty
|
e1d21e5bcf
|
Added copyright notice to utils/autoreload for CherryPy folks
git-svn-id: http://code.djangoproject.com/svn/django/trunk@267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-21 04:10:47 +00:00 |
Adrian Holovaty
|
9566a61a22
|
Added auto-reload to standalone server! Fixes #113. Thanks very much to Jason Huggins for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-21 04:08:54 +00:00 |
Adrian Holovaty
|
c21f6ecee2
|
Fixed #92 -- meta.Admin 'fields' parameter is now optional. If it's not 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-21 03:46:16 +00:00 |
Adrian Holovaty
|
304b08e325
|
Improved 'django-admin runserver' so that it explicitly tells you how to 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-21 03:24:28 +00:00 |
Adrian Holovaty
|
03c436bf61
|
Refactored django.views.admin.main to call opts.admin.get_field_objs() only 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-21 03:19:30 +00:00 |
Adrian Holovaty
|
8d144dadd8
|
Fixed #114 -- Changed uses of deprecated 'whrandom' module to 'random'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-21 02:20:40 +00:00 |
Adrian Holovaty
|
d330be0169
|
Added 'django-admin createsuperuser' and updated tutorial to use it instead 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-21 02:17:45 +00:00 |
Adrian Holovaty
|
bc5359f754
|
Added optional rel_name parameter to ManyToManyField, which makes it 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-20 22:55:01 +00:00 |
Adrian Holovaty
|
895d232671
|
Small code cleanup -- changed django.core.management.get_sql_delete to use 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-20 21:56:12 +00:00 |
Adrian Holovaty
|
47cc60d94b
|
Fixed small bug in print_error() calls in django-admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-20 20:35:53 +00:00 |
Adrian Holovaty
|
ec31445c52
|
Added '--settings' option to django-admin. This specifies which settings 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-20 17:42:36 +00:00 |
Jacob Kaplan-Moss
|
1b8c4c4556
|
Argh: fixed another bug in [244]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-20 17:12:12 +00:00 |
Jacob Kaplan-Moss
|
067f56d93d
|
Fixed really dumb bug in [244]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-20 17:09:39 +00:00 |
Jacob Kaplan-Moss
|
890bd5b0d2
|
Added "reversed" option to get_comment_list templatetag to return comments in most-recent-first order.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-20 17:07:30 +00:00 |
Adrian Holovaty
|
1fc28dea11
|
Fixed #97 -- Refactored django-admin.py so that it only contains 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-20 15:00:34 +00:00 |
Adrian Holovaty
|
e215ed3609
|
Fixed #102 -- Now using text/plain mimetype for exceptions displayed in the 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 06:13:06 +00:00 |
Adrian Holovaty
|
2012f7df63
|
'django-admin runserver' now displays the settings module you're using when it starts up
git-svn-id: http://code.djangoproject.com/svn/django/trunk@240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-20 06:08:39 +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
|
584cab7bc5
|
Fixed ForeignKey('self') so that extra cruft parameters aren't necessary. 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-20 05:46:00 +00:00 |
Adrian Holovaty
|
526f6af782
|
Changed models.auth.Session.get_session_from_cookie to raise 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-20 00:57:38 +00:00 |
Adrian Holovaty
|
d384870307
|
Changed django.views.defaults to use template.Context instead of core.extensions.DjangoContext
git-svn-id: http://code.djangoproject.com/svn/django/trunk@233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-20 00:50:37 +00:00 |
Adrian Holovaty
|
20820f2e85
|
Made ModPythonHandler.get_response() tolerant of repr(request) that has an exception
git-svn-id: http://code.djangoproject.com/svn/django/trunk@232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-20 00:47:10 +00:00 |
Adrian Holovaty
|
49fbe711cc
|
Added missing import to [230]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-20 00:43:39 +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
|
3fc5294d2e
|
Fixed #84 -- CREATE TABLE foreign keys now work in MySQL
git-svn-id: http://code.djangoproject.com/svn/django/trunk@227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 21:32:58 +00:00 |
Adrian Holovaty
|
307f3a95c7
|
Fixed the annoying login error that happens in some cases when 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-19 19:13:33 +00:00 |
Adrian Holovaty
|
5874952a8e
|
Improved error message when DATABASE_ENGINE is invalid. It now displays a list of all available database backends
git-svn-id: http://code.djangoproject.com/svn/django/trunk@215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 19:04:12 +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
|
df66763406
|
Fixed #67 -- Human-readable name is now optional in model fields. If a 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
|
2005-07-19 17:20:37 +00:00 |
Adrian Holovaty
|
3e09a1fc1c
|
Quick bugfix to [207] -- MySQL doesn't have ILIKE
git-svn-id: http://code.djangoproject.com/svn/django/trunk@208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 15:24:27 +00:00 |
Adrian Holovaty
|
5797066383
|
Added support for istartswith and iendswith in database API
git-svn-id: http://code.djangoproject.com/svn/django/trunk@207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 15:24:03 +00:00 |
Adrian Holovaty
|
b430d4c54f
|
Improved error message in urlresolvers.RegexURLResolver.resolve to use repr instead of str on app_path
git-svn-id: http://code.djangoproject.com/svn/django/trunk@204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 14:47:41 +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
|
fc85642ed5
|
Added a more helpful error message to django.core.urlresolvers.RegexURLResolver.resolve
git-svn-id: http://code.djangoproject.com/svn/django/trunk@196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 05:45:31 +00:00 |
Adrian Holovaty
|
7d553c0650
|
Improved TemplateDoesNotExist error message in django.core.template_file
git-svn-id: http://code.djangoproject.com/svn/django/trunk@194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 04:40:57 +00:00 |
Adrian Holovaty
|
3ab5791383
|
Improved ViewDoesNotExist error messages in django.core.urlresolvers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 04:30:23 +00:00 |
Adrian Holovaty
|
8f4fa5a4e7
|
Fixed #69 -- Implemented dictfetchone(), dictfetchmany() and dictfetchall() for mysql DB backend. Thanks, Manuzhai!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 02:13:20 +00:00 |
Adrian Holovaty
|
62cc287b2b
|
Fixed #76 -- development server now serves images, too, at whatever relative URL is provided by ADMIN_MEDIA_PREFIX
git-svn-id: http://code.djangoproject.com/svn/django/trunk@186 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 22:49:04 +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
|
12c04fbf29
|
Fixed bug in dynamically-generated docs -- ForeignKeys were throwing an exception
git-svn-id: http://code.djangoproject.com/svn/django/trunk@182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 20:35:51 +00:00 |
Adrian Holovaty
|
cf4c164e9f
|
Changed core.handlers.modpython.populate_apache_request NOT to have side effects on http_response. This has no effect on legacy code but will prevent problems in new code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 20:14:05 +00:00 |
Adrian Holovaty
|
8fd94405b5
|
Added django.middleware.cache, which lets you cache an entire Django-powered site by adding a line to your settings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 19:07:37 +00:00 |
Adrian Holovaty
|
912253371d
|
Moved django.views.decorators.cache.compress_string into django.utils.text
git-svn-id: http://code.djangoproject.com/svn/django/trunk@175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 17:23:04 +00:00 |
Adrian Holovaty
|
b68c478aa5
|
Added 'django-admin.py runserver', which starts a lightweight development server running Django on a local port
git-svn-id: http://code.djangoproject.com/svn/django/trunk@174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 15:25:58 +00:00 |
Adrian Holovaty
|
78206fd08c
|
Fixed #56 -- MySQL id columns are now UNSIGNED. Thanks, Manuzhai!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 13:53:45 +00:00 |
Adrian Holovaty
|
86d9ae269d
|
Moved django.bin.profiling.handler to django.core.handlers.profiler-hotshot
git-svn-id: http://code.djangoproject.com/svn/django/trunk@170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 06:34:34 +00:00 |
Adrian Holovaty
|
ca3d89b70f
|
Added WSGI support. Created core.handlers package. Moved ALL mod_python-specific code to django.core.handlers.modpython. Note that django.core.handler is still a valid mod_python handler but IS DEPRECATED. Use django.core.handlers.modpython, instead.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 06:30:26 +00:00 |
Adrian Holovaty
|
4e094e26e6
|
Renamed django.core.handler.CoreHandler to ModPythonHandler, in preparation for WSGI support
git-svn-id: http://code.djangoproject.com/svn/django/trunk@168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 06:10:00 +00:00 |
Adrian Holovaty
|
feeeda969c
|
Rolled django.core.extensions.DjangoRequest into django.utils.httpwrappers.ModPythonRequest, in preparation for WSGI support
git-svn-id: http://code.djangoproject.com/svn/django/trunk@167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 06:05:18 +00:00 |
Adrian Holovaty
|
246c1f88d9
|
Removed legacy CMSContext and CMSRequest from django.core.extensions, because all World Online code has been changed to remove those. This has no effect on anybody other than World Online
git-svn-id: http://code.djangoproject.com/svn/django/trunk@166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 06:01:39 +00:00 |
Adrian Holovaty
|
ac2a7c116d
|
Changed django.utils.httpwrappers.parse_file_upload() NOT to be coupled to mod_python
git-svn-id: http://code.djangoproject.com/svn/django/trunk@165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 05:52:06 +00:00 |
Adrian Holovaty
|
f3a43a2dd4
|
Folded django.core.handler.CoreHandler.get_request() into CoreHandler.call()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 03:13:02 +00:00 |
Adrian Holovaty
|
683755118f
|
Fixed #53 -- Thanks, Dobbes!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 02:38:44 +00:00 |
Adrian Holovaty
|
b1c543d091
|
Factored out database-specific date_trunc behavior into dbmod.get_date_trunc_sql(). Refs #46
git-svn-id: http://code.djangoproject.com/svn/django/trunk@161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 20:16:06 +00:00 |
Adrian Holovaty
|
d4ddc06021
|
Changed core.db to give a friendlier error message if the DATABASE_ENGINE setting is invalid
git-svn-id: http://code.djangoproject.com/svn/django/trunk@160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 20:03:24 +00:00 |
Adrian Holovaty
|
272b217557
|
Factored out database-specific date_extract behavior into dbmod.get_date_extract_sql(). Refs #46
git-svn-id: http://code.djangoproject.com/svn/django/trunk@159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 18:23:34 +00:00 |
Adrian Holovaty
|
35e81ce5af
|
Changed models.auth.LogEntry.get_admin_url NOT to be hard-coded with an initial slash
git-svn-id: http://code.djangoproject.com/svn/django/trunk@158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 17:44:57 +00:00 |
Adrian Holovaty
|
58df4ce636
|
Fixed #40 -- Removed legacy code from meta.py method_set_related_many_to_many(). Thanks, jforeman@hark.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 17:27:34 +00:00 |
Adrian Holovaty
|
6ae4def03b
|
Fixed #42 -- OneToOneField now works with SQL generation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 17:22:17 +00:00 |
Wilson Miner
|
1680686e3a
|
Fixed path to icon_searchbox.png
git-svn-id: http://code.djangoproject.com/svn/django/trunk@153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 16:14:29 +00:00 |
Wilson Miner
|
aef751972c
|
Fixed #43
git-svn-id: http://code.djangoproject.com/svn/django/trunk@147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 15:35:22 +00:00 |
Adrian Holovaty
|
82f0468801
|
Changed generic admin changelist to order by ID if no other ordering is specified, rather than raising a scary exception
git-svn-id: http://code.djangoproject.com/svn/django/trunk@128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 23:58:49 +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
|
a2a7fd0b82
|
Added help_text to auth.User.password_md5
git-svn-id: http://code.djangoproject.com/svn/django/trunk@126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 23:34:07 +00:00 |
Adrian Holovaty
|
d9e5a4ea5b
|
Removed an unneeded line of code in django/templatetags/adminmedia.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 23:00:04 +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
|
1e0fb3b7a3
|
Added helpful error message if DATABASE_NAME or DATABASE_USER is blank for postgresql
git-svn-id: http://code.djangoproject.com/svn/django/trunk@122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 22:21:50 +00:00 |
Adrian Holovaty
|
60bdadb9a3
|
Moved django.core.handler.ImproperlyConfigured into django.core.exceptions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 22:12:24 +00:00 |
Adrian Holovaty
|
8cb4eeeafe
|
Changed delete_stage admin view to run strip_tags on repr() of object to be deleted
git-svn-id: http://code.djangoproject.com/svn/django/trunk@116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 21:21:02 +00:00 |
Adrian Holovaty
|
caef61945d
|
Fixed #39 -- Thanks for the research, deelan!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 21:10:25 +00:00 |
Adrian Holovaty
|
5721396426
|
Fixed inconsistent capitalization in [109]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 16:56:27 +00:00 |
Adrian Holovaty
|
361be49fe7
|
Changed postgresql DB backend so that it gives a helpful error message if people are using psycopg 2 instead of version 1
git-svn-id: http://code.djangoproject.com/svn/django/trunk@109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 16:55:11 +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
|
fca9ba3f8c
|
Set executable bit on django-admin.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 06:00:19 +00:00 |
Adrian Holovaty
|
2b40dee38d
|
Changed django-admin so that it doesn't load django.core.db or django.core.meta unless it needs to. As a result, 'django-admin startproject' works even if the database parameters are set incorrectly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 05:44:50 +00:00 |
Adrian Holovaty
|
c0daa77ea6
|
django-admin.py startproject now automatically points admin TEMPLATE_DIRS setting at the location of the default admin templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@95 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 04:07:06 +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
|
8d0610d054
|
Gave django.core.meta.Model a repr(), as a fallback
git-svn-id: http://code.djangoproject.com/svn/django/trunk@89 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 23:48:54 +00:00 |
Adrian Holovaty
|
dc5f2506d1
|
Changed 'django-admin sqlclear' to output deletion of content_types table now that we're not using ON DELETE CASCADE anymore
git-svn-id: http://code.djangoproject.com/svn/django/trunk@88 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 23:43:17 +00:00 |
Adrian Holovaty
|
0a35fce98a
|
Changed 'django-admin startapp' so that it try to write to INSTALLED_APPS magically. Also changed 'django-admin sqlclear' to reverse the output
git-svn-id: http://code.djangoproject.com/svn/django/trunk@87 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 23:41:39 +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
|
d75fde94a7
|
Changed django-admin startproject so that it doesn't copy .pyc files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@79 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 22:24:51 +00:00 |
Adrian Holovaty
|
41c99f35db
|
Changed setup.py author and added django-admin to distutils 'scripts'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@68 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 20:46:05 +00:00 |
Adrian Holovaty
|
775f433988
|
Moved django.bin.setup to root level and converted it to use setuptools. Still not ready for prime time, though
git-svn-id: http://code.djangoproject.com/svn/django/trunk@65 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 19:49:10 +00:00 |
Jacob Kaplan-Moss
|
8acc6048e8
|
Removed the vestigal get_choices_from from ManyToMany relations.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@64 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 19:44:52 +00:00 |
Adrian Holovaty
|
c8cae5bed9
|
Removed gunk from legacy django.bin.setup, although distutils installation isn't done yet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@60 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 19:18:09 +00:00 |
Adrian Holovaty
|
dc2933f73b
|
Fixed #3 -- Made OneToOneField act like ForeignKey and ManyToManyField. This is the last big API change before the official launch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@59 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 18:40:21 +00:00 |
Adrian Holovaty
|
f4c581158d
|
Renamed CMSRequest to DjangoRequest, and CMSContext to DjangoContext. Old code will still work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@57 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 17:09:01 +00:00 |
Adrian Holovaty
|
a051772b85
|
Changed mentions of CMS to Django in django.core xheaders and exceptions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@55 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 16:52:08 +00:00 |
Adrian Holovaty
|
eb9c9ab4d0
|
Changed django.core.mail to use [Django] prefix instead of [CMS]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@54 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-15 16:47:19 +00:00 |
Adrian Holovaty
|
fda1f68492
|
Fixed bug in [29]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@31 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-14 18:37:10 +00:00 |
Adrian Holovaty
|
d9d6345e3f
|
Fixed bug in [29]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@30 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-14 18:34:52 +00:00 |
Adrian Holovaty
|
f98724e57a
|
Fixed bug in django.contrib.comments urlconf
git-svn-id: http://code.djangoproject.com/svn/django/trunk@29 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-14 18:32:59 +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
|
2e4322123f
|
Changed many-to-many API to be get_FOO_list instead of get_FOOs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-14 03:17:09 +00:00 |
Adrian Holovaty
|
2fb6c3b845
|
Fixed #30 -- django-admin startproject and startapp now ignore directories starting with a dot
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-14 01:32:23 +00:00 |
Adrian Holovaty
|
3c0ee70e7c
|
Changed db/backends/postgresql.py to add the password and host params only if they're not blank
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-13 20:59:56 +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 |