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

2037 Commits

Author SHA1 Message Date
Christopher Long
4cfd3203a6 [per-object-permissions] Merged to revision 3582
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-14 18:52:03 +00:00
Christopher Long
4f0118995c [per-object-permissions] Added "Apply Selected" button to RLP table that submits the selected row levle permissions to be changed.
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-13 21:36:38 +00:00
Christopher Long
03e1b7f821 [per-object-permissions] Removing YUI toolkit code.
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 14:07:47 +00:00
Christopher Long
e46e6f6a3f [per-object-permissions] Removed AJAX code from branch. Will possibly be integrated in at another point.
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 14:05:39 +00:00
Christopher Long
98bb076a49 [per-object-permissions] Separated the AJAX javascript from the non-AJAX JS
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 13:57:28 +00:00
Christopher Long
ea345fa7f4 [per-object-permissions] Forgot to add toolkit files in last commit
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-09 01:26:53 +00:00
Christopher Long
2176184dc3 [per-object-permissions] AJAX interface is now working most of the time. A fair amount of work has to be done still and some tidying up of the interface. Uses YUI toolkit. Currently comes w/ the full toolkit, once debugged and working will keep only the needed js files.
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-09 01:22:35 +00:00
Christopher Long
759f426f24 [per-object-permissions] Rewrote urls for row level permission views to take the ajax parameter as a GET instead of a addition to the URL
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-07 17:30:27 +00:00
Christopher Long
b68a6ae701 [per-object-permissions] model test for row level permissions (w/ files)
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-07 17:29:32 +00:00
Christopher Long
1eb8c61711 [per-object-permissions] model test for row level permissions
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-07 17:29:13 +00:00
Christopher Long
e8ea76b4c7 [per-object-permissions] Fixed RLP perm checking so it now accepts the string app_label.perm_codename format correctly.
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-07 17:28:16 +00:00
Christopher Long
18c889d8fb [per-object-permissions] First version of checking for row level permissions. No cache implemented at this point. See wiki page for more details.
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-06 19:44:58 +00:00
Christopher Long
aba82ef36b [per-object-permissions] Renamed the attribute in RLPs to be model instead of type
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-02 15:47:11 +00:00
Christopher Long
68072fa75c [per-object-permissions] Fixed some problems with checking of permissions
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-29 18:27:50 +00:00
Christopher Long
340718bd3a [per-object-permissions] Very basic integration of RLPs into admin interface.
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-29 16:00:23 +00:00
Christopher Long
75c6dc967d [per-object-permissions] Update to trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 22:38:02 +00:00
Christopher Long
8e48efbbd0 [per-object-permissions] django.db.models.base now adds the row level permission relation when enabled using the meta class
[per-object-permissions] django.db.models.options contains the row level permission option for the meta class, by default the option is false (not enabled)

git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 23:29:35 +00:00
Christopher Long
71dad9e305 [per-object-permissions] Updated auth model's to contain the row level permission object and connected users with row level permissions
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 23:28:04 +00:00
Jacob Kaplan-Moss
53fed0e769 Created per-object-permissions branch for Christopher Long's SoC project.
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 14:45:54 +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
Adrian Holovaty
5ce4a56a7c Fixed bug in utils.translation.trans_null -- get_date_formats and get_partial_date_formats weren't returning tuples properly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 04:08:45 +00:00
Adrian Holovaty
b98972e1c9 Fixed #2312 -- E-mail validator now accepts TLDs up to 6 characters long
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 02:32:54 +00:00
Adrian Holovaty
9a588aa4b4 Fixed #2317 -- Fixed help_text for FlatPage.template_name field to match magic-removal template names. Thanks, md@hudora.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09 22:35:08 +00:00
Russell Keith-Magee
c431ade5f5 Refs #2217 -- Updated DB API docs to discuss filtering using objects rather than IDs. Second attempt - forgot to save before commit last time.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09 03:53:11 +00:00
Russell Keith-Magee
88189399b1 Refs #2217 -- Updated DB API docs to discuss filtering using objects rather than IDs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09 03:51:37 +00:00
Adrian Holovaty
78c91dd7df Made two small changes to comments in django.db.models.query
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08 14:17:45 +00:00
Adrian Holovaty
2eb492ba60 Fixed django.utils.httpwrappers call in docs/outputting_pdf.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08 14:14:28 +00:00
Adrian Holovaty
18eb7ecb13 Fixed #2310 -- Changed trans_null.py to use settings.LANGUAGE_CODE instead of hard-coded 'en'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08 13:58:33 +00:00
Adrian Holovaty
8daddd4fae Fixed #1977 -- Added clarification about TIME_ZONE setting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 22:39:43 +00:00
Adrian Holovaty
1c3689ccd5 Fixed ReST error in docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 22:29:02 +00:00
Adrian Holovaty
5f33157f62 Fixed #2295 -- Improved docs/sessions.txt to note INSTALLED_APPS requirement.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 22:25:32 +00:00
Adrian Holovaty
df4331f3e9 Fixed #2303 -- Fixed bug in [3269] with regard to True and False special-casing in template system
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 22:20:07 +00:00
Adrian Holovaty
83c6fff22a Fixed #2142 -- Fixed JavaScript warnings in admin JS. Thanks, mike.capp@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 04:11:10 +00:00