1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

2000 Commits

Author SHA1 Message Date
Uroš Trebec
702dadfa59 [full-history]
* Removed 'signal_name' attribute from signal from django/db/models/
* Added two wrapper functions for save_new_revision(): save_new_revision_save() and save_new_revision_delete()
* Added 'signal_name' variable to save_new_revision()
* Changed 'signal_name' variable handling in save_new_revision()
* Fixed dispatcher.connects to reflect previous three changes



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@4736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-15 15:59:49 +00:00
Uroš Trebec
730869d19c [full-history]
* Changed the template to include CHANGE_TYPE



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@4735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-15 15:51:51 +00:00
Uroš Trebec
374735c9ef [full-history]:
Merged revisions 3642-4724 via svnmerge from
http://code.djangoproject.com/svn/django/trunk



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@4732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-15 03:25:47 +00:00
Uroš Trebec
c76225007d [full-history] Initialized merge tracking via "svnmerge" with revisions "3641" from
http://code.djangoproject.com/svn/django/trunk



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@4731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-15 00:38:16 +00:00
Uroš Trebec
1ec80a0368 [full-history] - reverting bad merge from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@4730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-14 23:32:28 +00:00
Uroš Trebec
0027163189 * Merge from trunk revision 4722
git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@4723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-14 01:39:29 +00:00
Uroš Trebec
a2ea7775a3 [full-history]
* Fixed 'signal_name' error
# Somehow this modification got run over by trunk merge.
# I'm trying to find a better solution, but for now this will do.
# Thanks to David Cramer for error report.



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-17 09:19:50 +00:00
Uroš Trebec
dbdbf1735e [full-history]
* Fixed a little logical error with kwargs



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-17 09:16:35 +00:00
Uroš Trebec
19ed25e2e6 [full-history]
* Trunk merge from [3635]



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21 22:31:45 +00:00
Uroš Trebec
cd54edf084 [full-history]
* Added a filter for specific ID
* Changed "offset" and "revision" to **kwargs arguments



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21 22:30:05 +00:00
Uroš Trebec
56642885be [full-history]
* Added some generic-wannabe tables



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21 21:41:36 +00:00
Uroš Trebec
e6b7a2d454 [full-history]
* Changed the ChangeLog functions to correspond to new "managed" ones
* First attempt to print generic view of values



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21 21:40:35 +00:00
Uroš Trebec
f32226ada3 [full-history]
* Added ChangeLogManager + objects = ChangeLogManager() to ChangeLog class
* Moved API funtions to ChangeLogManager
* Fixed the problem with filtering by "content_type" -> now uses object's content_type.id
* Commented out Some debug statements



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21 21:38:15 +00:00
Uroš Trebec
3ca484cbb7 [full-history]
* Deleted api.py because everything is in models.py



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-20 21:34:45 +00:00
Uroš Trebec
c0f5d22187 [full-history]
* Added CHANGE_TYPES choices
* Added "change_type" field
* Changed "db_table" to "django_history_log"
* Changed doc entry for _import_models()
* Fixed non-working saving of "Update" ChangeLog
* Other minor stuff



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-17 18:28:41 +00:00
Uroš Trebec
fd837f0235 [full-history]
* Removed save_last_revision()
* signal.pre_delete now uses save_new_revision()
* Added "signal_name" check and "pre_delete" processingto save_new_revision()
* Fixed BUG from [3588]



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-16 12:57:20 +00:00
Uroš Trebec
a064d0848b [full-history]
* Added a "signal_name" argument to "pre_save" and "pre_delete" signals
(I use it so I can use single function to catch both signals and still 
do different things with them)



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-16 12:52:35 +00:00
Uroš Trebec
402f00a893 [full-history]
* Added save_last_revision() for when the record is deleted.
* Renamed _get_enabled_models() to _import_models()
* Moved the "import" stuff to _import_models() so it can be used everywhere
* Added "pre-delete signal" connect
* BUG: save_new_revision() stopped working (EOFError on line 42 - get_object() function).



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-14 23:28:23 +00:00
Uroš Trebec
ca86ceec83 [full-history] Trunk merge from [3577]
git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-14 00:32:07 +00:00
Uroš Trebec
b1f4974bef [full-history]
* Added __str__ + changed Admin list_display to use it
* Added extra checking for History-enabled
* Added extra checking of instance "type" (new/update) - Fixed saving
* Using signals.pre_save again (if instance is "new" then it uses ID=0)



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-14 00:10:10 +00:00
Uroš Trebec
98120e36c3 [full-history] Trunk merge from [3517]
git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-03 08:18:24 +00:00
Uroš Trebec
a760bd73fd [full-history]
* comment out some testing prints



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-02 14:59:08 +00:00
Uroš Trebec
96367f65c9 [full-history]
* Added some error checking in get_version() and save_new_revision()
* Changed signal from signals.pre_save to signals.post_save (the instance doesn't have id otherwise)
* Added logging for new objects too
* Added default comments (Update|New)
* Removed instance_name



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-02 14:56:58 +00:00
Uroš Trebec
456786ef3d [full-history]
Removed reference to get_all_models()



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-26 11:25:11 +00:00
Uroš Trebec
4d8da74cdf [full-history]
* get_all_models() rewrite -> _get_enabled_models()
* save_new_revision():
  + works for any object
  + imports needed classes on-the-fly
  - BUG: NOT WORKING RIGHT!!! (loops because it wants to track itself)
* dispatcher.connect gets connection from Any model



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-26 10:52:08 +00:00
Uroš Trebec
b0a11fcdc5 [full-history]: Trunk merge from [3421]
git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-22 12:11:40 +00:00
Uroš Trebec
c1be99e088 [full-history] Deleted the binary files
git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3425 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-22 10:26:26 +00:00
Uroš Trebec
097ed46023 [full-history] Changed templates to correspond ContentType-ified models.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-22 10:24:27 +00:00
Uroš Trebec
1e2fbc3de8 [full-history] list() cleaned up (moved to models.py)
git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-22 10:19:05 +00:00
Uroš Trebec
1e9d6303f0 [full-history]
* ChangeLog now uses ContentTypes
* added "commet" field
* fixed get_version() default "offset"
* more generic list_history()
* added get_all_models() function (work-in-progress)
* removed _get_first_revision()



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-22 10:16:42 +00:00
Uroš Trebec
1ce3fe5a96 First code commit.
Some of it works, some doesn't.
Some of the changes are not included (soon).



git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-15 00:17:34 +00:00
Jacob Kaplan-Moss
247b4ba5ac Created full-history for Uros Trebec's SoC project.
git-svn-id: http://code.djangoproject.com/svn/django/branches/full-history@3331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 14:46:16 +00:00
Adrian Holovaty
78adbd9434 Added get_language_bidi to django.utils.translation.trans_nuill. Refs #2203
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 14:08:42 +00:00
Adrian Holovaty
f3a586a557 Fixed #2326 -- Fixed exception catching in django.contrib.auth.models. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 14:03:24 +00:00
Adrian Holovaty
33f47ae30a Added local 'qn' variable for backend.quote_name in django.db.models.query.delete_objects
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 04:11:40 +00:00
Adrian Holovaty
cfcd4a5875 Added local 'qn' variable for backend.quote_name in django.db.models.query.fill_table_cache
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:35:17 +00:00
Adrian Holovaty
98597be786 Removed references to LOOKUP_SEPARATOR in django.db.models.query.lookup_inner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:29:12 +00:00
Adrian Holovaty
9a0e56dbb5 Removed unnecessary 'except: raise' in django.db.models.query.lookup_inner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:27:29 +00:00
Adrian Holovaty
a17a9d1474 Added local 'qn' variable for backend.quote_name in django.db.models.query.lookup_inner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:27:10 +00:00
Adrian Holovaty
c262e19670 Renamed 'clause' variable to 'lookup_type' in django.db.models.query.lookup_inner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:21:59 +00:00
Adrian Holovaty
79b7fc17a1 Small formatting change to m2m_and_m2o model unit test
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:20:11 +00:00
Adrian Holovaty
1805bbb6cd Changed runtests.py to set USE_I18N=True for testing
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:09:14 +00:00
Adrian Holovaty
93b21610b9 Added note to docs/settings.txt and docs/i18n.txt about not importing from django.utils.translation in the settings file
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 02:49:56 +00:00
Adrian Holovaty
b4b9edc5e5 Fixed #1614 -- get_sql(), lookup_inner() and parse_lookup() no longer return a 'tables' parameter, because 'tables' was never getting assigned, anywhere.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 02:32:53 +00:00
Adrian Holovaty
4872e16d1c Decimated 'whilst' in docs/templates_python.txt from [3308]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 14:22:04 +00:00
Georg Bauer
4295dd9195 added arabic to the setup
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 14:14:32 +00:00
Georg Bauer
8c399ba5b6 fixed #2302: added arabic translation. thx Ahmad Alhashemi.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 14:14:00 +00:00
Malcolm Tredinnick
9af47730da Typo fixing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 10:50:04 +00:00
Malcolm Tredinnick
927d87d732 Fixed #2320 -- corrected numerous errors in the custom tag examples in
python_templates.txt. Also fixed an argument parsing error for such tags.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 10:48:08 +00:00
Adrian Holovaty
c1847294b8 Fixed #2301 -- Added list_display_links option to 'class Admin', which regulates which fields in the change list have links. Thanks, kilian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 04:16:26 +00:00