Adrian Holovaty
|
5c22b8b4b7
|
Improved model validator to make sure prepopulate_from is a list or tuple
git-svn-id: http://code.djangoproject.com/svn/django/trunk@617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 22:50:53 +00:00 |
Adrian Holovaty
|
ccbea84834
|
Fixed #404 -- Fixed random ordering in MySQL by abstracting random function into db backend modules. Thanks, mattycakes@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 20:46:00 +00:00 |
Adrian Holovaty
|
3aa1276bff
|
Fixed #453 -- 'django-admin install' now does model validation before installation. Lightly refactored django.core.management to add a get_validation_errors() function, which validate() wraps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 18:38:23 +00:00 |
Adrian Holovaty
|
24006427d9
|
Changed django.core.management.validate to take an optional 'outfile' argument, defaulting to sys.stdout
git-svn-id: http://code.djangoproject.com/svn/django/trunk@608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 18:28:26 +00:00 |
Adrian Holovaty
|
59b204526e
|
Fixed #454 -- Clarified django-admin '--help' output to use 'modelmodule' instead of 'app'. Thanks, Maniac
git-svn-id: http://code.djangoproject.com/svn/django/trunk@607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 18:26:16 +00:00 |
Adrian Holovaty
|
5d7c8a0c4f
|
Fixed bug in [601]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 17:59:43 +00:00 |
Adrian Holovaty
|
324f717c5e
|
Fixed bug in has_related_links=True, which is legacy and shouldn't be used by anybody
git-svn-id: http://code.djangoproject.com/svn/django/trunk@601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 16:34:14 +00:00 |
Adrian Holovaty
|
582e6a1010
|
Fixed #392 -- Fixed bug in memcache setup if arguments are given. Thanks, adrian@exoweb.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-01 23:09:48 +00:00 |
Adrian Holovaty
|
887f6331d4
|
Fixed #446 -- Fixed bug in yesno template filter. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-01 02:22:46 +00:00 |
Adrian Holovaty
|
def5d10ffc
|
Fixed #365 -- Changed template.resolve_variable to resolve hard-coded strings. Thanks, davidschein
git-svn-id: http://code.djangoproject.com/svn/django/trunk@587 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-01 02:18:04 +00:00 |
Adrian Holovaty
|
dbc4adeeda
|
Fixed #385 -- Fixed bug in yesno template filter. Thanks, eugene@lazutkin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-31 16:47:06 +00:00 |
Adrian Holovaty
|
9635ac07a5
|
Fixed #403 -- Fixed bug in floatformat template filter. Thanks, nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-31 16:45:10 +00:00 |
Adrian Holovaty
|
cb6aa1035b
|
Fixed #407 -- Code no longer assumes request.META['REMOTE_ADDR'] exists. Thanks, sune.kirkeby@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-31 16:27:59 +00:00 |
Adrian Holovaty
|
abe7fb8173
|
Fixed #413 -- get_file_url() for FileFields now uses proper slashes on Windows. Thanks, Adam Endicott
git-svn-id: http://code.djangoproject.com/svn/django/trunk@579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-31 16:22:07 +00:00 |
Adrian Holovaty
|
c6e4b232c2
|
Fixed #349 -- Fixed bug in development server admin media on Windows. Thanks, ibatugow@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-29 21:48:32 +00:00 |
Adrian Holovaty
|
d80ac5ac25
|
Fixed #256 and #334 -- Added {% ifequal %} template tag. Also, {% ifequal %} and {% ifnotequal %} now both accept an optional {% else %} clause. Unit tests included.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-29 21:11:41 +00:00 |
Adrian Holovaty
|
299c3cdd8c
|
Fixed small bug in manipulator handling of one-to-one-related foreign keys
git-svn-id: http://code.djangoproject.com/svn/django/trunk@572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-29 16:49:18 +00:00 |
Adrian Holovaty
|
2ce78063fa
|
Fixed bug in metasystem manipulator_validator_unique_for_date(), related to [549]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-29 16:44:40 +00:00 |
Adrian Holovaty
|
25aef18d83
|
Fixed bug in metasystem method_get_next_in_order and method_get_previous_in_order, related to [549]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-29 15:35:04 +00:00 |
Adrian Holovaty
|
939e2bccd5
|
Changed django-admin.py inspectdb to output new-style model syntax
git-svn-id: http://code.djangoproject.com/svn/django/trunk@550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-26 04:06:18 +00:00 |
Adrian Holovaty
|
25264c8604
|
Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models
git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-25 22:51:30 +00:00 |
Adrian Holovaty
|
aec0a73d73
|
Changed 'coding error' and 'database error' e-mails to include request.path in subject
git-svn-id: http://code.djangoproject.com/svn/django/trunk@548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-25 00:50:01 +00:00 |
Adrian Holovaty
|
e5e1ea602d
|
Fixed #350 -- 'offset' DB API parameter now works in MySQL 3. Tests from [540] pass. Thanks, ronan@cremin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-19 21:51:14 +00:00 |
Adrian Holovaty
|
00c6acaaf3
|
Fixed #360 -- runserver now takes optional 'ip:port' in addition to 'port'. Thanks, benno@jeamland.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-19 21:23:56 +00:00 |
Adrian Holovaty
|
8d6c276328
|
Fixed #371 -- Fixed bug in 'random' template filter. Thanks, Boffbowsh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-19 14:59:09 +00:00 |
Adrian Holovaty
|
28d41fe270
|
Tweaked [531] slightly, so that it checks for 'is None' instead of boolean 'not'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-18 00:15:39 +00:00 |
Adrian Holovaty
|
8a939224fa
|
Added friendly error message if a view returns None instead of an HttpResponse object.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-18 00:14:15 +00:00 |
Adrian Holovaty
|
f5ab1320ed
|
Fixed bug in manipulator_valid_rel_key() -- it assumed the related object's primary key was called 'id'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-17 22:46:43 +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 |
Adrian Holovaty
|
f21ff30b10
|
Small formatting change to validation error in [516], to be consistent with other validation errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 18:28:00 +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
|
d22e88898f
|
Changed handlers (both mod_python and WSGI) to support setting multiple cookies per request
git-svn-id: http://code.djangoproject.com/svn/django/trunk@511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 22:47:41 +00:00 |
Adrian Holovaty
|
c727729183
|
Changed meta.py save() code from [507] to work under sqlite. All tests now pass in all 3 database backends.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 20:03:34 +00:00 |
Adrian Holovaty
|
7cfddb3c43
|
Improved model validator to validate 'choices' for a field
git-svn-id: http://code.djangoproject.com/svn/django/trunk@509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 19:00:50 +00:00 |
Adrian Holovaty
|
27986994ee
|
Fixed #320 -- Changed save() code so that it doesn't rely on cursor.rowcount. MySQLdb sets cursor.rowcount to 0 in an UPDATE statement even if the record already exists. Now save() does a SELECT query to find out whether a record with the primary key already exists.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 16:00:28 +00:00 |
Adrian Holovaty
|
db127b7983
|
Fixed #322 -- Development server now calls validate() again. Thanks, rmunn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 15:24:56 +00:00 |
Adrian Holovaty
|
91c71d36e6
|
Fixed #322 -- 'django-admin runserver' no longer validates models.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 14:48:07 +00:00 |
Adrian Holovaty
|
8f9e5b6b3b
|
Added 'django-admin.py validate', which validates all installed models. Validation only handles common errors at this point, but we'll be improving it each time we think of a potential model syntax problem. Also changed the development Web server to validate automatically at server start.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 05:05:52 +00:00 |
Adrian Holovaty
|
4a7159865e
|
Improved error handling for invalid model parameters that aren't custom functions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 04:44:19 +00:00 |
Adrian Holovaty
|
1e479ba90d
|
Fixed #93 and #279 -- 'django-admin startproject' no longer creates invalid settings/admin.py on Windows
git-svn-id: http://code.djangoproject.com/svn/django/trunk@498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 01:24:16 +00:00 |
Adrian Holovaty
|
bc00059b2f
|
Fixed #316 -- Added special-case for MySQL microseconds, so that it doesn't throw a warning when microseconds are given.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 01:03:39 +00:00 |
Adrian Holovaty
|
2c3067b5e5
|
Fixed #311 -- Small change to docstring. Thanks, rmunn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 00:53:18 +00:00 |
Adrian Holovaty
|
bf108187a2
|
Fixed #321 -- Undid [494], which assumed the installed version of MySQLdb had a 'cursors.CursorNW'. Thanks for being consistent, MySQLdb. This opens #316 again.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 00:50:31 +00:00 |
Adrian Holovaty
|
a9b43edde2
|
Fixed #316 -- Changed MySQL backend to disregard warnings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-14 23:59:29 +00:00 |
Adrian Holovaty
|
199aa88ffb
|
Moved django.core.handlers.wsgi.AdminMediaHandler to django.core.servers.basehttp. Makes more sense to have it in there, because its only use is for the development server.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-12 04:16:29 +00:00 |
Adrian Holovaty
|
8d8da826db
|
Changed timestamp and time typecasting to preserve microseconds. Added unit tests to test this behavior, and added a db_typecast unit test module. Refs #306.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-11 19:34:34 +00:00 |
Adrian Holovaty
|
e67882721d
|
Refactored django.core.urlresolvers a tiny bit
git-svn-id: http://code.djangoproject.com/svn/django/trunk@479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 22:20:18 +00:00 |
Adrian Holovaty
|
fcfb8edc15
|
Fixed #126 -- HttpRequest now has a 'raw_post_data' attribute.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 22:12:05 +00:00 |
Adrian Holovaty
|
77d20bedd4
|
Fixed #192 -- File uploads now work with built-in Web server. Thanks, mordaha@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 21:20:45 +00:00 |
Adrian Holovaty
|
46d8bbab3d
|
Added help_doc to django.core.management.install
git-svn-id: http://code.djangoproject.com/svn/django/trunk@470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 20:16:15 +00:00 |