Tim Graham
150d88cc2c
Restored is_anonymous() check in ModelBackend permission checking removed in refs #17903 .
...
Thanks Florian Apolloner for raising the issue.
2014-06-24 07:09:38 -04:00
Jorge C. Leitão
c33447a50c
Fixed #17903 -- Modified ModelBackend to eliminate permissions on inactive users.
...
Thanks to @SmileyChris for the report and @timgraham for review.
2014-06-23 19:57:20 -04:00
Luan Pablo
407d070329
Fixed #22782 -- Added i18n attr to Sitemap class
...
It makes possible to have your sitemap in multiple languages when
using i18n in URLs.
2014-06-20 13:04:41 -04:00
Tim Graham
63670a474c
Removed a CSRF example for jQuery < 1.5.
2014-06-18 14:58:50 -04:00
Tim Graham
0be4d64487
Fixed #22859 -- Improved crossDomain technique in CSRF example.
...
Thanks flisky for the report.
2014-06-18 14:35:38 -04:00
Claude Paroz
c281831a5c
Complemented dwithin docs about using geographic geometries
...
Refs #22830 . Thanks django@gfairchild.com for the suggestion.
2014-06-14 20:52:37 +02:00
Jorge C. Leitão
cc35bd461d
Fixed #7599 -- Added get_user_permissions to ModelBackend.
...
Thanks to @gdub for the report and intial patch and
@charettes and @timgraham for the review.
2014-06-13 09:34:04 -04:00
Maxime Turcotte
504c89e800
Fixed #6327 -- Added has_module_permission method to BaseModelAdmin
...
Thanks chrj for the suggestion.
2014-06-13 09:31:40 -04:00
Tim Graham
bc0aba7786
Dropped support for SpatiaLite < 2.4.
2014-06-09 17:53:25 -04:00
Tim Graham
dd55132643
Removed extras/csrf_migration_helper.py
2014-06-09 11:53:09 -04:00
Tim Graham
4445d36d47
Fixed #22384 -- Deprecated reversing URLs by dotted path.
2014-06-03 07:30:14 -04:00
Tim Graham
4b57e203fe
Fixed spelling in docs.
2014-05-27 19:46:48 -04:00
Marc Tamlyn
b625e861e5
Fix an error in a documented lookup example.
2014-05-26 14:44:50 +01:00
Marc Tamlyn
48348782e6
Added omitted documentation for ArrayField__len.
2014-05-22 13:50:13 +01:00
Marc Tamlyn
604162604b
Added array field support for PostgreSQL.
...
The first part of django.contrib.postgres, including model and two form
fields for arrays of other data types.
This commit is formed of the following work:
Add shell of postgres app and test handling.
First draft of array fields.
Use recursive deconstruction.
Stop creating classes at lookup time.
Add validation and size parameter.
Add contained_by lookup.
Add SimpleArrayField for forms.
Add SplitArrayField (mainly for admin).
Fix prepare_value for SimpleArrayField.
Stop using MultiValueField and MultiWidget.
They don't play nice with flexible sizes.
Add basics of admin integration.
Missing:
- Tests
- Fully working js
Add reference document for django.contrib.postgres.fields.ArrayField.
Various performance and style tweaks.
Fix internal docs link, formalise code snippets.
Remove the admin code for now.
It needs a better way of handing JS widgets in the admin as a whole
before it is easy to write. In particular there are serious issues
involving DateTimePicker when used in an array.
Add a test for nested array fields with different delimiters.
This will be a documented pattern so having a test for it is useful.
Add docs for SimpleArrayField.
Add docs for SplitArrayField.
Remove admin related code for now.
definition -> description
Fix typo.
Py3 errors.
Avoid using regexes where they're not needed.
Allow passing tuples by the programmer.
Add some more tests for multidimensional arrays.
Also fix slicing as much as it can be fixed.
Simplify SplitArrayWidget's data loading.
If we aren't including the variable size one, we don't need to search
like this.
2014-05-22 09:53:26 +01:00
Moayad Mardini
2f43229c2f
Fixed #22655 -- Fixed GeoQuerySet doc about strictly_below
...
The paragraph was a copy of strictly_above.
2014-05-19 09:50:23 -04:00
Erik Romijn
727d048f09
Fixed #22644 -- Clarified documentation for NamedUrlWizardView
2014-05-17 15:08:49 +02:00
Anders Steinlein
4ef10f245a
Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin.
...
Thanks Stephen Burrows for work on the patch as well.
Forwardport of 2914f66983
from stable/1.7.x
2014-05-15 07:25:35 -04:00
Tim Graham
a06808d370
Removed an unnecessary anchor in the docs.
2014-05-13 20:54:32 -04:00
Tim Graham
57296b4162
Removed some references to django.contrib.comments which has been removed.
2014-05-13 07:24:28 -04:00
Tim Graham
986bd41f8a
Fixed #22613 -- Added formfield_for_choice_field() to the list of methods that InlineModelAdmin supports.
2014-05-12 06:59:23 -04:00
Claude Paroz
680a0f08b1
Updated doc links to point to Python 3 documentation
2014-04-26 16:02:53 +02:00
Marti Raudsepp
11d453bcad
Various documentation typo/spelling fixes
...
Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
2014-04-23 02:31:49 +03:00
Aymeric Augustin
bbe818b23c
Changed paths in docs that referred to Python 2.
2014-04-20 08:34:01 +02:00
Tim Graham
26d118c3fe
Moved RemoteUserBackend documentation to reference guide.
2014-04-18 16:06:26 -04:00
Claude Paroz
3cea917e3e
Confirmed support for PostGIS 2.1 and GDAL 1.10
...
Refs #22456 .
2014-04-17 21:23:14 +02:00
chriscauley
66ec9ee441
Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.
...
Thanks tomwys for the suggestion.
2014-04-16 20:36:29 -04:00
Tim Graham
d5031ecf88
Fixed #21353 -- Noted that description is ignored for TabularInlines.
...
Thanks nofinator for the report.
2014-04-10 13:31:59 -04:00
Tim Graham
868f37183b
Fixed some spelling issues in docs.
2014-04-08 10:08:25 -04:00
Yin Jifeng
d6c9bdd825
Added missing request parameter to get_current_site().
2014-04-07 09:54:34 -04:00
Claude Paroz
248b9bb554
Merge pull request #2514 from vlal/ticket_22380
...
Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for ...
2014-04-04 09:47:27 +02:00
Vishal Lal
8f621b83e9
Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing
2014-04-04 07:25:55 +00:00
Vishal Lal
a8e2ec0e82
Fixed #22372 -- Improved description of WizardView.get_context_data().
...
Thanks simon29 for the report.
2014-04-03 08:25:11 -04:00
Tim Graham
d73d0e071c
Fixed #22218 -- Deprecated django.conf.urls.patterns.
...
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-04-03 07:28:10 -04:00
Claude Paroz
41903d025a
Dropped support for GDAL 1.6
2014-03-29 11:08:52 +01:00
Claude Paroz
c5d1df70a4
Dropped support for GEOS 3.1
2014-03-29 11:08:52 +01:00
Claude Paroz
c6ffa4cab6
Added note in geo library docs
2014-03-29 11:08:52 +01:00
Claude Paroz
e62dea9ad5
Confirmed Spatialite 4 support
2014-03-29 11:08:52 +01:00
Claude Paroz
0f1f12c564
Confirmed GEOS 3.4 support
2014-03-29 11:08:52 +01:00
Tim Graham
51c8045145
Removed versionadded/changed annotations for 1.6.
2014-03-24 11:42:56 -04:00
Simon Charette
fa8b473528
Fixed #22299 -- Cleanup wizard temp files when possible.
...
Thanks to @erikr for the review.
2014-03-22 17:48:12 -04:00
Claude Paroz
3a97f992fb
Fixed #22313 -- Removed 'u' prefixes from documentation
2014-03-22 21:32:20 +01:00
Claude Paroz
74b3467646
Removed GeoRSSSitemap
...
Refs #18531 .
2014-03-22 19:58:50 +01:00
Thomas Schreiber
907ac64641
Fixed typos in docs (django.contrib.site)
2014-03-21 19:56:31 +01:00
Tim Graham
aa93a1890f
Removed contrib.comments per deprecation timeline.
2014-03-21 07:05:36 -04:00
Daniel Hahler
ac9c7701a7
Replaced reference to ModelAdmin.get_formsets() (deprecated) with get_formsets_with_inlines().
2014-03-19 20:37:00 -04:00
Roger Hu
9b729ddd8f
Fixed #22185 -- Added settings.CSRF_COOKIE_AGE
...
Thanks Paul McMillan for the review.
2014-03-06 08:28:43 -05:00
Gabe Jackson
b77f26313c
Fixed #22207 -- Added support for GenericRelation reverse lookups
...
GenericRelation now supports an optional related_query_name argument.
Setting related_query_name adds a relation from the related object back to
the content type for filtering, ordering and other query operations.
Thanks to Loic Bistuer for spotting a couple of important issues in
his review.
2014-03-05 22:37:53 +02:00
Tim Graham
5a4f1298cf
Fixed #21908 -- Added example usage for ModelAdmin.get_inline_instances().
...
Thanks matt at schinckel.net for the suggestion.
2014-03-03 10:40:06 -05:00
Rodolfo Carvalho
2b6436e2d5
Fixed some typos and formatting issues in docs.
2014-03-03 08:37:17 -05:00