Commit Graph

870 Commits

Author SHA1 Message Date
Erik Romijn 2c4fe761a0 Fixed #20593 -- Allow blank passwords in check_password() and set_password() 2013-06-18 13:32:54 -04:00
Tim Graham 70d7e45eb0 Added release notes for auth views being reversed by name, not by path.
Refs #20532
2013-06-13 16:08:56 -04:00
Tim Graham 536703abf0 Fixed #20500 - Updated flatpages URLconf example to work with APPEND_SLASH.
Thanks josh.23.french@.
2013-06-11 12:25:39 -04:00
Tim Graham 9ff5f100dd Fixed #20578 - Typo in BaseFormSet module name 2013-06-10 14:36:40 -04:00
Camilo Nova 706eced9bb Update flatpages.txt
Fixed typo
2013-06-08 10:45:39 -05:00
Marc Tamlyn 9ed971f4f1 Merge pull request #1245 from oinopion/list_select_related
Fixed #19080 -- Fine-grained control over select_related in admin
2013-06-06 01:27:05 -07:00
Tomek Paczkowski 0fd9f7c95f Fixed #19080 -- Fine-grained control over select_related in admin 2013-06-05 23:08:00 +02:00
Tim Graham bb863faecd Proofed the 1.6 release notes 2013-06-05 12:55:58 -04:00
Tim Graham 61524b09cf Fixed #18388 - Added InlineModelAdmin.get_max_num hook.
Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work
on the patch.
2013-06-01 18:20:54 -04:00
Tim Graham 646a2216e9 Fixed #20326 - Corrected form wizard get_form() example.
Thanks tris@ for the report.
2013-05-31 08:07:40 -04:00
Tim Graham 36aecb12b8 Fixed #19425 - Added InlineModelAdmin.get_extra hook.
Thanks dave@ for the suggestion and Rohan Jain for the patch.
2013-05-30 13:48:10 -04:00
Tim Graham fbab3209fc Fixed #20492 - Removed a broken link in GIS docs. 2013-05-24 12:35:20 -04:00
Alasdair Nicol 81f454a322 Update link to jQuery Cookie plugin site 2013-05-24 14:36:17 +01:00
Gavin Wahl 48424adaba Fixed #17648 -- Add `for_concrete_model` to `GenericForeignKey`.
Allows a `GenericForeignKey` to reference proxy models. The default
for `for_concrete_model` is `True` to keep backwards compatibility.

Also added the analog `for_concrete_model` kwarg to
`generic_inlineformset_factory` to provide an API at the form level.
2013-05-23 19:03:14 -04:00
Tim Graham 8c2c178a09 Fixed a broken link introduced in a542b808ba. 2013-05-22 08:51:16 -04:00
Wiktor Kolodziej cec9558fba Fixed #17308 -- Enabled the use of short_description on properties in the admin. 2013-05-21 13:19:18 +02:00
Tim Graham d9d24c4521 Fixed warnings in admindocs; refs #20126. 2013-05-20 10:17:49 -04:00
Bozidar Benko 2d309a7043 Fixed #15961 -- Modified ModelAdmin to allow for custom search methods.
This adds a get_search_results method that users can override to
provide custom search strategies.

Thanks to Daniele Procida for help with the docs.
2013-05-19 16:45:00 +02:00
Marc Tamlyn c6855e8a70 Merge pull request #1162 from sspross/patch-docs
Add needed Imports to the Documentation, Part II
2013-05-19 05:26:13 -07:00
vkuzma 1fe587d80b Add missing imports and models to the examples in the admin documentation 2013-05-19 13:35:19 +02:00
leandrafinger 08b501e7d3 add missing imports to the examples in the 'Forms' 2013-05-19 13:31:45 +02:00
Silvan Spross 6a479955f0 Add missing imports and models to the examples in security documentation 2013-05-19 13:29:49 +02:00
Łukasz Langa 660762681c Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middleware 2013-05-19 13:18:35 +02:00
Marc Tamlyn 886f7cc751 Merge pull request #1098 from zsiciarz/ticket-16829
Added example of using sitemaps with static views.
2013-05-19 03:27:33 -07:00
Ramiro Morales 0a50311063 Fixed #20004 -- Moved non DB-related assertions to SimpleTestCase.
Thanks zalew for the suggestion and work on a patch.

Also updated, tweaked and fixed testing documentation.
2013-05-18 19:04:34 -03:00
Claude Paroz 90f1170bb9 Fixed #20269 -- Adapted PostGIS template create script for CentOS/RHEL
Thanks Stephane Benchimol for the report and the initial script and
mfandreas for the patch.
2013-05-18 14:29:43 +02:00
Zbigniew Siciarz d77082b438 Added example of using sitemaps with static views.
References #16829.
2013-05-18 14:27:29 +02:00
Claude Paroz b16b72d415 Fixed #5472 --Added OpenLayers-based widgets in contrib.gis
Largely inspired from django-floppyforms. Designed to not depend
on OpenLayers at code level.
2013-05-17 13:33:40 +02:00
Tim Graham b5b63079bd Fixed #19712 - Clarified admindocs regarding which attributes appear.
Thanks Daniele Procida for the report.
2013-05-16 08:09:20 -04:00
Carl Meyer 9012833af8 Fixed #17365, #17366, #18727 -- Switched to discovery test runner.
Thanks to Preston Timmons for the bulk of the work on the patch, especially
updating Django's own test suite to comply with the requirements of the new
runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the
patch and the discovery runner.

Refs #11077, #17032, and #18670.
2013-05-10 23:08:45 -04:00
Luke Plant f026a519ae Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and added '__all__' shortcut
This also updates all dependent functionality, including modelform_factory
 and modelformset_factory, and the generic views `ModelFormMixin`,
 `CreateView` and `UpdateView` which gain a new `fields` attribute.
2013-05-09 16:44:36 +01:00
Thomas Thurman b47b0211f5 Corrected "it's" to "its" when used possessively.
Fixed #20327.
2013-04-29 17:21:37 +02:00
Juan Catalano 78c842a323 Adapted uses of versionchanged/versionadded to the new form.
Refs #20104.
2013-04-20 17:18:35 +02:00
Claude Paroz bfb2504402 Added a tip about --layer param of ogrinspect for databases
Refs #20260.
2013-04-15 18:28:20 +02:00
Claude Paroz d58e985aaa Fixed #20252 -- Mentionned geojson Spatialite support from 1.5
Thanks burton449geo at gmail.com for the report.
2013-04-12 20:59:56 +02:00
Tim Graham ac4d82b94a Fixed #9913 - Clarified User.is_authenticated docs.
Thanks rshea for the draft text.
2013-03-31 03:59:34 -04:00
Tim Graham b5e1e2ec03 Fixed some markup in formtools docs. 2013-03-30 19:49:31 -04:00
Julien Phalip ffc8e2e0ae Fixes #20162 -- Added a note in the documentation for `static.serve()` about the need for updating the system's map files when incorrect content types are returned. Many thanks to Simon Charette and Claude Paroz for their feedback. 2013-03-30 16:23:27 -07:00
Tim Graham 6c730da1f6 Fixed #19897 - Updated static files howto.
Thanks Jan Murre, Reinout van Rees and Wim Feijen,
plus Remco Wendt for reviewing.
2013-03-29 19:15:19 -04:00
Baptiste Mispelon 391ec5a085 Fixed #20160 -- Erronous reference to `module_name` in admin doc.
Ref #19689.
2013-03-29 14:31:29 -04:00
Tim Graham 6073091b77 Fixed #20124 - Fixed doc warnings. 2013-03-24 13:49:31 -04:00
Jannis Leidel e7514e4978 Merge pull request #942 from stephrdev/trac-18000
Fixed #18000 -- Moved the code to handle goto requests to an extra WizardView method.
2013-03-23 05:29:28 -07:00
Stephan Jaekel 1c8a1706fb Updated docs, changed versionchanged to versionadded. 2013-03-23 13:27:16 +01:00
Stephan Jaekel b614c47f8c Added some class attributes to pass initial form lists to the WizardView without the need to add them in the as_view call. 2013-03-23 12:24:34 +01:00
Stephan Jaekel 46246c6624 Moved the code to handle goto requests in a extra WizardView method. 2013-03-23 12:02:23 +01:00
Tim Graham 93cffc3b37 Added missing markup to docs. 2013-03-22 13:50:07 -04:00
Tom V a907fa088e Docs template name mistake
change_list_request.html doesn't exist, it's named  change_list_results.html
2013-03-21 10:03:28 +00:00
Andrew Gorcester f9ab543720 Fixed #20084 -- Provided option to validate formset max_num on server.
This is provided as a new "validate_max" formset_factory option defaulting to
False, since the non-validating behavior of max_num is longstanding, and there
is certainly code relying on it. (In fact, even the Django admin relies on it
for the case where there are more existing inlines than the given max_num). It
may be that at some point we want to deprecate validate_max=False and
eventually remove the option, but this commit takes no steps in that direction.

This also fixes the DoS-prevention absolute_max enforcement so that it causes a
form validation error rather than an IndexError, and ensures that absolute_max
is always 1000 more than max_num, to prevent surprising changes in behavior
with max_num close to absolute_max.

Lastly, this commit fixes the previous inconsistency between a regular formset
and a model formset in the precedence of max_num and initial data. Previously
in a regular formset, if the provided initial data was longer than max_num, it
was truncated; in a model formset, all initial forms would be displayed
regardless of max_num. Now regular formsets are the same as model formsets; all
initial forms are displayed, even if more than max_num. (But if validate_max is
True, submitting these forms will result in a "too many forms" validation
error!) This combination of behaviors was chosen to keep the max_num validation
simple and consistent, and avoid silent data loss due to truncation of initial
data.

Thanks to Preston for discussion of the design choices.
2013-03-21 01:27:24 -07:00
Paul Collins 9a85ad89c2 Fixed #16319 -- added SuccessMessageMixin to contrib.messages
Thanks martinogden for the initial patch and d1ffuz0r for tests.
2013-03-19 21:02:55 -07:00
Justin Bronn 4485b2a74c Update versions and links to source tarballs. 2013-03-18 15:55:32 -07:00
Aymeric Augustin 6197935152 Fixed #19968 -- Dropped support for PostgreSQL < 8.4. 2013-03-18 21:16:29 +01:00
Jacob Kaplan-Moss 571b2d139b Deprecated django.contrib.comments. 2013-03-11 15:38:40 -05:00
Loic Bistuer 6983a1a540 Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
Claude Paroz 6d3b0c33dc Fixed #19960 -- Fixed sentence in contrib.auth signals docs
Thanks edd at slipszenko.net for the report.
2013-03-01 22:15:23 +01:00
Aymeric Augustin 0c82b1dfc4 Fixed #19929 -- Improved error when MySQL doesn't have TZ definitions.
Thanks tomas_00 for the report.
2013-02-28 17:35:13 +01:00
Carl Meyer 8f839aaa18 Minor edits to some recently-added admin docs. 2013-02-25 00:15:11 -07:00
Diederik van der Boor b7ba4fc408 Add column-<field_name> classes to the admin list
This simplifies CSS styling to set column widths.
2013-02-24 17:50:23 +01:00
Zbigniew Siciarz 0a8402eb05 Test case and docs for custom context data in feeds
Thanks Paul Winkler for the initial patch. (Ref #18112).
2013-02-24 08:33:20 -06:00
Tim Graham 9b97f01dea Fixed #19880 - Fixed an error in the form wizard initial_dict example.
Thanks almalki for the report.
2013-02-23 15:26:41 -05:00
Tim Graham 8d17114899 Fixed #19752 - Changed Postgres version numbers to 9.x to avoid having to update them each minor release. 2013-02-23 10:40:19 -05:00
Tim Graham 722683f508 Fixed #19887 - Noted when callables may be used in ModelAdmin.fields and ModelAdmin.fieldset.
Thanks Patrick Strasser for the suggestion and Zbigniew Siciarz for the patch.
2013-02-23 09:45:34 -05:00
Evrim Çabuk 48a9194755 Remove the exact Postgresql version number from gis install documentation
ref #19752
2013-02-23 11:53:10 +02:00
Claude Paroz 60fff6fc94 Documented jQuery upgrade
Refs #14571.
2013-02-22 22:02:53 +01:00
Tim Graham 1add79bc40 Fixed #19852 - Updated admin fieldset example for consistency.
Thanks chris.freeman.pdx@ for the suggestion.
2013-02-19 12:44:19 -05:00
Claude Paroz 8fbc20b24b Emphasized MyISAM pseudo-requirement for GeoDjango over MySQL
Refs #15295.
2013-02-10 20:49:16 +01:00
Claude Paroz 2ed90eac49 Fixed #19779 -- Checked contrib.sites presence in RedirectFallbackMiddleware
Thanks Aymeric Augustin for the report and directions for the patch.
2013-02-08 16:32:09 +01:00
Preston Holmes c44d748272 Fixed #19662 -- alter auth modelbackend to accept custom username fields
Thanks to Aymeric and Carl for the review.
2013-02-07 16:07:56 -08:00
Aymeric Augustin 720888a146 Fixed #15808 -- Added optional HttpOnly flag to the CSRF Cookie.
Thanks Samuel Lavitt for the report and Sascha Peilicke for the patch.
2013-02-07 09:48:08 +01:00
Simon Charette 5449240c54 Fixed #9800 -- Allow "isPermaLink" attribute in <guid> element of an RSS item.
Thanks @rtnpro for the patch!
2013-02-06 05:28:05 -05:00
Aymeric Augustin 3f1c7b7053 Simplified default project template.
Squashed commit of:

commit 508ec9144b35c50794708225b496bde1eb5e60aa
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Tue Jan 29 22:50:55 2013 +0100

    Tweaked default settings file.

    * Explained why BASE_DIR exists.
    * Added a link to the database configuration options, and put it in its
      own section.
    * Moved sensitive settings that must be changed for production at the
      top.

commit 6515fd2f1aa73a86dc8dbd2ccf512ddb6b140d57
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Tue Jan 29 14:35:21 2013 +0100

    Documented the simplified app & project templates in the changelog.

commit 2c5b576c2ea91d84273a019b3d0b3b8b4da72f23
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Tue Jan 29 13:59:27 2013 +0100

    Minor fixes in tutorials 5 and 6.

commit 55a51531be8104f21b3cca3f6bf70b0a7139a041
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Tue Jan 29 13:51:11 2013 +0100

    Updated tutorial 2 for the new project template.

commit 29ddae87bdaecff12dd31b16b000c01efbde9e20
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Tue Jan 29 11:58:54 2013 +0100

    Updated tutorial 1 for the new project template.

commit 0ecb9f6e2514cfd26a678a280d471433375101a3
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Tue Jan 29 11:29:13 2013 +0100

    Adjusted the default URLconf detection to account for the admin.

    It's now enabled by default.

commit 5fb4da0d3d09dac28dd94e3fde92b9d4335c0565
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Tue Jan 29 10:36:55 2013 +0100

    Added security warnings for the most sensitive settings.

commit 718d84bd8ac4a42fb4b28ec93965de32680f091e
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 23:24:06 2013 +0100

    Used an absolute path for the SQLite database.

    This ensures the settings file works regardless of which directory
    django-admin.py / manage.py is invoked from.

    BASE_DIR got a +1 from a BDFL and another core dev. It doesn't involve
    the concept of a "Django project"; it's just a convenient way to express
    relative paths within the source code repository for non-Python files.

    Thanks Jacob Kaplan-Moss for the suggestion.

commit 1b559b4bcda622e10909b68fe5cab90db6727dd9
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 23:22:40 2013 +0100

    Removed STATIC_ROOT from the default settings template.

    It isn't necessary in development, and it confuses beginners to no end.

    Thanks Carl Meyer for the suggestion.

commit a55f141a500bb7c9a1bc259bbe1954c13b199671
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 23:21:43 2013 +0100

    Removed MEDIA_ROOT/URL from default settings template.

    Many sites will never deal with user-uploaded files, and MEDIA_ROOT is
    complicated to explain.

    Thanks Carl Meyer for the suggestion.

commit 44bf2f2441420fd9429ee9fe1f7207f92dd87e70
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 22:22:09 2013 +0100

    Removed logging config.

    This configuration is applied regardless of the value of LOGGING;
    duplicating it in LOGGING is confusing.

commit eac747e848eaed65fd5f6f254f0a7559d856f88f
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 22:05:31 2013 +0100

    Enabled the locale middleware by default.

    USE_I18N is True by default, and doesn't work well without
    LocaleMiddleware.

commit d806c62b2d00826dc2688c84b092627b8d571cab
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 22:03:16 2013 +0100

    Enabled clickjacking protection by default.

commit 99152c30e6a15003f0b6737dc78e87adf462aacb
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 22:01:48 2013 +0100

    Reorganized settings in logical sections, and trimmed comments.

commit d37ffdfcb24b7e0ec7cc113d07190f65fb12fb8a
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 16:54:11 2013 +0100

    Avoided misleading TEMPLATE_DEBUG = DEBUG.

    According to the docs TEMPLATE_DEBUG works only when DEBUG = True.

commit 15d9478d3a9850e85841e7cf09cf83050371c6bf
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 16:46:25 2013 +0100

    Removed STATICFILES_FINDERS/TEMPLATE_LOADERS from default settings file.

    Only developers with special needs ever need to change these settings.

commit 574da0eb5bfb4570883756914b4dbd7e20e1f61e
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 16:45:01 2013 +0100

    Removed STATICFILES/TEMPLATES_DIRS from default settings file.

    The current best practice is to put static files and templates in
    applications, for easier testing and deployment.

commit 8cb18dbe56629aa1be74718a07e7cc66b4f9c9f0
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 16:24:16 2013 +0100

    Removed settings related to email reporting from default settings file.

    While handy for small scale projects, it isn't exactly a best practice.

commit 8ecbfcb3638058f0c49922540f874a7d802d864f
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Tue Jan 29 18:54:43 2013 +0100

    Documented how to enable the sites framework.

commit 23fc91a6fa67d91ddd9d71b1c3e0dc26bdad9841
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 16:28:59 2013 +0100

    Disabled the sites framework by default.

    RequestSite does the job for single-domain websites.

commit c4d82eb8afc0eb8568bf9c4d12644272415e3960
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Tue Jan 29 00:08:33 2013 +0100

    Added a default admin.py to the application template.

    Thanks Ryan D Hiebert for the suggestion.

commit 4071dc771e5c44b1c5ebb9beecefb164ae465e22
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 10:59:49 2013 +0100

    Enabled the admin by default.

    Everyone uses the admin.

commit c807a31f8d89e7e7fd97380e3023f7983a8b6fcb
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 10:57:05 2013 +0100

    Removed admindocs from default project template.

commit 09e4ce0e652a97da1a9e285046a91c8ad7a9189c
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 16:32:52 2013 +0100

    Added links to the settings documentation.

commit 5b8f5eaef364eb790fcde6f9e86f7d266074cca8
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 11:06:54 2013 +0100

    Used a significant example for URLconf includes.

commit 908e91d6fcee2a3cb51ca26ecdf12a6a24e69ef8
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 16:22:31 2013 +0100

    Moved code comments about WSGI to docs, and rewrote said docs.

commit 50417e51996146f891d08ca8b74dcc736a581932
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date:   Mon Jan 28 15:51:50 2013 +0100

    Normalized the default application template.

    Removed the default test that 1 + 1 = 2, because it's been committed
    way too many times, in too many projects.

    Added an import of `render` for views, because the first view will
    often be:

    def home(request):
        return render(request, "mysite/home.html")
2013-02-04 13:21:36 +01:00
Nick Sandford 0694d2196f Fixed #19445 -- Skip admin fieldsets validation when the ModelAdmin.get_form() method is overridden. 2013-02-02 14:53:46 -08:00
Ramiro Morales 5f7eecd09a Small generic FK docs tweaks. 2013-02-01 23:30:50 -03:00
Ramiro Morales 1ee40f2141 Fixed content types contrib app doc typos. 2013-02-01 23:30:50 -03:00
Matt Robenolt 393c268e72 Fixed #19715 -- Simplified findstatic output when verbosity set to 0 2013-02-01 11:55:05 +01:00
Aymeric Augustin 89cb771be7 Fixed #19692 -- Completed deprecation of mimetype in favor of content_type.
Thanks Tim for the report and initial patch.
2013-01-31 13:54:40 +01:00
Tim Graham ee26797cff Fixed typos in docs and comments 2013-01-29 10:55:55 -07:00
Tim Graham 14d1d504d5 Fixed two malformed links. 2013-01-27 06:09:50 -05:00
Tim Graham eafc036476 Fixed #19577 - Added HTML escaping to admin examples.
Thanks foo@ for the report and Florian Apolloner for the review.
2013-01-25 06:53:40 -05:00
Tim Graham 214fb700b9 Fixed #19477 - Documented generic_inlineformset_factory
Thanks epicserve for the suggestion.
2013-01-22 18:17:26 -05:00
Tim Graham 5b2d9bacd2 Fixed #19640 - Added inlineformset_factory to reference docs.
Thanks wim@ for the suggestion.
2013-01-22 07:55:34 -05:00
Tim Graham d406afe12e Fixed #19597 - Added some notes on jQuery in admin.
Thanks Daniele Procida.
2013-01-15 20:00:05 -05:00
Tim Graham c9b577ead6 Clarified WizardView.get_form_prefix doc, refs #19024 2013-01-15 07:56:09 -05:00
Tim Graham 43f89e0ad6 Fixed #19605 - Removed unused url imports from doc examples.
Thanks sergzach for the suggestion.
2013-01-15 07:50:26 -05:00
Tim Graham 4720117a31 Added details on minified jQuery and DEBUG mode for contrib.admin.
Thanks Daniele Procida.
2013-01-13 15:11:24 -05:00
Tim Graham ba50d3e05b Fixed #14633 - Organized settings reference docs and added a topical index.
Thanks Gabriel Hurley for the original idea
and adamv for the draft patch.
2013-01-12 18:44:53 -05:00
Stephan Jaekel 17f8496fea Fixed #19024 -- Corrected form wizard docs for get_form_prefix. 2013-01-12 15:55:06 +01:00
Tim Graham 4da5947a87 Fixed #19588 - Added create_superuser to UserManager docs.
Thanks minddust for the report.
2013-01-10 15:16:25 -05:00
Tim Graham 9b5f64cc6e Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.
2013-01-02 18:32:57 -05:00
Chris Beaven 3f890f8dc7 Update doc example for overriding change_form.html
Slightly reworded another related paragraph for clarity, too.
2013-01-03 11:37:05 +13:00
Aymeric Augustin 7ee7599ab3 Removed versionadded/changed annotations dating back to 1.4. 2012-12-29 21:59:08 +01:00
Aymeric Augustin ebd2598596 Removed django.contrib.markup. 2012-12-29 21:59:07 +01:00
Aymeric Augustin f27a4ee327 Removed django.contrib.localflavor.
Each localflavor lives on as a separate app.
2012-12-29 21:59:06 +01:00
Aymeric Augustin b2d20e9826 Removed legacy shortcut for importing GeoIP. 2012-12-29 21:58:12 +01:00
Aymeric Augustin 052271168b Removed django.contrib.databrowse.
RIP -- you served us well.
2012-12-29 21:58:12 +01:00
Tim Graham 067505ad19 Fixed broken links, round 4. refs #19516 2012-12-29 15:54:33 -05:00
Preston Holmes 11ded967c4 Fixed #19498 -- refactored auth documentation
The auth doc was a single page which had grown unwieldy.
This refactor split and grouped the content into sub-topics.
Additional corrections and cleanups were made along the way.
2012-12-28 11:06:12 -08:00
Tim Graham b3a8c9dab8 Fixed broken links, round 3. refs #19516 2012-12-26 19:07:22 -05:00
Aymeric Augustin e2ec7b47b3 Updated documentation on localflavor translations
to account for the removal of django.contrib.localflavor in 1.6.

Refs #19482.
2012-12-26 14:45:13 +01:00
Aymeric Augustin 4500d3522d Fixed #19518 -- Documented the deprecation of localflavor.
Also moved the contrib deprecations at the top of their section and made
minor markup fixes.
2012-12-26 14:29:07 +01:00
Tim Graham 9c5a6adf33 Fixed more broken links. refs #19516 2012-12-25 04:44:09 -05:00
Claude Paroz cc3c4a9d55 Fixed #19366 -- Prevented GEOSIndexError when comparing geometries
Thanks Craig de Stigter for the report and collaboration on the
patch.
2012-11-28 22:34:02 +01:00
Julien Phalip ae206d78f6 Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to rasca for the suggestion and to mateusgondim for the patch. 2012-11-25 20:39:23 +01:00
Claude Paroz 44815bad6b Removed obsolete contrib.comments upgrade guide
The old comment system was pre-1.0.
2012-11-24 18:10:51 +01:00
Tim Graham c13912ac7f Fixed #19346 - Typo in docs/ref/contrib/gis/install/index.txt 2012-11-22 18:01:20 -05:00
shepdl 8e5573e99a Fixed #19243 - Edited GeoDjango Tutorial for consistency and style. 2012-11-21 19:31:17 -05:00
Luke Plant a32f30c79c Corrected docs about default value of MESSAGE_STORAGE 2012-11-20 23:00:20 +00:00
Preston Holmes edf7ad36fa Fixed #18658 -- Improved ModelAdmin.message_user API
Thanks to Lowe Thiderman for the patch and tests
2012-11-19 16:03:09 -08:00
Tim Graham 1f1f60d12f Fixed #19306 - Improved syndication example.
Thanks brycenesbitt for the report.
2012-11-18 18:07:38 -05:00
Aymeric Augustin ccb2b574e8 Fixed #19315 -- Improved markup in admin FAQ.
Thanks ClaesBas.
2012-11-17 23:25:52 +01:00
Tim Graham ac4aa8a76c Documented that contrib.sites creates a default site.
Thanks Lorin Hochstein for the patch.
2012-11-17 06:49:28 -05:00
Brandon Adams d8ee46afff comment_will_be_sent can cause a 400, not a 403
Doc cleanup for django.contrib.comments.signals.comment_will_be_sent
If a receiver returns False, an HttpResponse with status code 400
is returned. A test case already exists confirming this behavior.
Updated docs to reflect reality.
2012-11-16 10:19:54 -05:00
Nicolas Ippolito 17b14d4819 Typo in comments doc 2012-11-12 22:15:41 +01:00
Tim Graham a386675a6a Fixed #15968 - Noted that readonly_fields are excluded from the ModelForm 2012-11-06 19:03:44 -05:00
Tim Graham 39f5bc7fc3 Fixed #16841 - Documented a couple ModelAdmin methods
* ModelAdmin.get_changelist_form and get_changelist_formset
* InlineModelAdmin.get_formset

Thanks Jordan Reiter for the report.
2012-11-03 05:22:34 -04:00
Tim Graham d1de7596b2 Fixed #19120 - Added an example of using ModelAdmin methods for read-only fields.
Thanks Daniele Procida for the patch.
2012-11-02 18:31:03 -04:00
Tim Graham 082fad0b83 Cleaned up contrib.admin install instructions.
Thanks Cal Leeming for the patch.
2012-11-02 18:04:27 -04:00
Tim Graham af7ea808d8 Added WizardView.file_storage exception message and docs
Thanks Danilo Bargen for the patch.
2012-11-01 16:14:51 -04:00
Tim Graham ede8a0be05 Fixed #19179 - Added mention of NamedUrlSessionWizard and NamedUrlCookieWizard; thanks Tom for the report. 2012-11-01 06:58:02 -04:00
Tim Graham da958eb209 Fixed #9471 - Expanded ModelAdmin.raw_id_fields docs; thanks adroffne for the suggestion. 2012-10-24 17:43:24 -04:00
Tim Graham 300d052713 Fixed arguments for get_inline_instances example; refs #17856 2012-10-20 09:57:15 -04:00
Aymeric Augustin c2e19e26bc Fixed #17856 -- Passed obj to get_inline_instances
Thanks ybon, quinode and sjaensch for the patch, and Tim Graham
for the review.
2012-10-20 15:49:52 +02:00
Tim Graham eed4faf16f Fixed #17006 - Documented ModelAdmin get_form() and get_formsets() 2012-10-20 08:40:54 -04:00
Claude Paroz 3084b1cfd6 Separated GIS installation docs in sections 2012-10-20 11:08:52 +02:00
Adrian Holovaty 1636b03382 Added docs link to new third-party Lithuanian localflavor 2012-10-15 14:18:16 -05:00
Adrian Holovaty f8c3acc807 Updated localflavor docs to note the new packages 2012-10-12 17:00:35 -05:00
Brian Galey 95f7ea3af1 Fixed #19028 -- Support GeoJSON output with SpatiaLite 3.0+ 2012-10-12 17:23:22 +02:00
Ramiro Morales ec1aad1671 Added section about URL reversion to URL mapper document. 2012-10-07 20:21:07 -03:00
Claude Paroz ab8c970368 Fixed #19072 -- Corrected an external file path in GeoIP docs
Thanks Flavio Curella for the report and the initial patch.
2012-10-05 23:17:21 +02:00
John Paulett 7251282893 Fixed #17207 -- Added a troubleshooting note about failing createdb 2012-10-04 09:51:14 +02:00
Claude Paroz 89544b2bd2 Readded docs anchor removed in 92b5341b and still in use 2012-10-04 09:51:14 +02:00
Claude Paroz c76877c1d2 Added a note about postgis_topology in install docs
Thanks Paolo Corti for the suggestion.
2012-10-03 12:59:24 +02:00
Claude Paroz 8bd7b598b6 Fixed #18807 -- Made 404.html and 500.html optional
Thanks Aymeric Augustin for the report and Jannis Leidel for the
review.
2012-09-30 23:16:19 +02:00
Flavio Curella 92b5341b19 Fixed #16455 -- Added support for PostGIS 2.0
Thanks ckarrie for the report and the initial patches, Flavio Curella
for updating the patch, and Anssi Kääriäinen for testing. See ticket
for other valuable contributors.
2012-09-30 22:49:41 +02:00
Tim Graham 15202baace Fixed #17058 - Clarified where extras/csrf_migration_helper.py is located 2012-09-29 16:41:55 -04:00
Claude Paroz 8867c27613 Added link to PostGIS matrix on OSGeo Wiki 2012-09-29 20:04:08 +02:00
Claude Paroz ffdd6595ea Fixed #18919 -- Stopped dropping Z attribute when transforming geometries
Previously, the wkb of geometries was dropping the Z attribute.
Thanks luizvital for the report and tests and georger.silva@gmail.com
for the tests.
2012-09-29 12:33:18 +02:00
Claude Paroz 2f6e00a840 Fixed #11948 -- Added interpolate and project linear referencing methods
Thanks novalis for the report and the initial patch, and Anssi
Kääriäinen and Justin Bronn for the review.
2012-09-29 11:22:28 +02:00
Tim Graham fea0ca4334 Fixed #12871 - Documented creation of a comment form for authenticated users; thanks shacker for patch. 2012-09-28 17:36:53 -04:00
Claude Paroz 6c2faaceb0 Made more extensive use of get_current_site
Refs #15089
2012-09-28 20:33:05 +02:00
Tim Graham d08096317a Fixed #11460 - Added a FAQ regarding missing rows in the admin. 2012-09-27 17:36:02 -04:00
Adrien Lemaire 2c8267bf3d Fixed #17899 -- Rewrote [Ee]-mail to [Ee]mail 2012-09-26 14:14:51 +02:00
Tim Graham 837425b425 Fixed #18934 - Removed versionadded/changed annotations for Django 1.3 2012-09-20 19:06:55 -04:00
Claude Paroz 89136b2725 Fixed #16577 -- Added a map_creation block in openlayers.js template 2012-09-20 10:31:37 +02:00
Claude Paroz 3ae397a98c Added a note about GEOS support for 3D/4D WKT notation
See also http://trac.osgeo.org/geos/ticket/347
2012-09-20 09:40:18 +02:00
Tim Graham 93e6733e4c Fixed #18131 - Documented ContentTypeManager.get_for_id; thanks sir_sigurd for the report. 2012-09-15 08:15:54 -04:00
Tim Graham 553583958d Added an example of using a form wizard with different templates; thanks Lorin Hochstein for the patch. 2012-09-15 07:16:07 -04:00
Claude Paroz 65793d714c Used ST_AsText for testing PostGIS raw query
AsText will not be supported in further versions of PostGIS (>=2).
2012-09-15 12:02:28 +02:00
Preston Holmes 3da43c1111 Fixed #18054 -- Deprecated contrib.markup. Thanks to simukis for the initial patch. 2012-09-08 12:13:46 -04:00
Aymeric Augustin e69348b4e7 Avoided mixing dates and datetimes in the examples.
Refs #16023.
2012-09-08 11:00:04 -04:00
Justin Bronn 3622be42b0 Updated the Ubuntu installation section for 12.04 release. 2012-09-07 18:08:57 -07:00
Aymeric Augustin ce53a1d0bf Clarified the messages documentation.
* Stated upfront that the messages framework is enabled by default.
* Explained why FallbackStorage, despites its unattractive name, is the
  default and likely the most efficient message storage class.

Thanks Jeremy Dunck for the review.

Closes #17026 (again).
2012-09-07 19:59:00 -04:00
Justin Bronn 72b8f8d73b Updated the GEOS, PostGIS, and PROJ.4 versions in the GeoDjango installation docs. 2012-09-07 13:35:09 -04:00
Tim Graham 51ee850776 Fixed #9967 - Added a link to a bug that affects contrib.comments redirects. 2012-09-04 16:27:58 -04:00
Tim Graham e376558ed2 Fixed #16936 - Updated javascript for CSRF protection.
Thanks Idan Gazit for the patch.
2012-09-01 06:03:01 -04:00
Tim Graham 70896386ec Fixed #16309 - Made ModelAdmin.list_filter versionchanged annotations more specific to the sections that changed; thanks akaihola for the suggestion and patch. 2012-08-31 18:01:02 -04:00
Tim Graham 7235cc7685 Fixed #14556 - Documented how to use flatpages in URLconf; thanks Claude Paroz for the draft patch. 2012-08-31 08:14:45 -04:00
Tim Graham f698b973ea Fixed #18384 - Reformatted GeoDjango install instructions slightly. 2012-08-30 16:16:28 -04:00
Claude Paroz 62e1c5a441 Fixed #17448 -- Improved test and documented raw-sql gis query 2012-08-25 14:39:52 +02:00
Ramiro Morales 6786b38ace Modified docs about SpatiaLite version that doesn't need manual initial SQL file loading as per 675431dfaa. 2012-08-23 21:18:29 -03:00
Ramiro Morales 26e0ba07ae Tweaked SpatiaLite GeoDjango docs. 2012-08-19 22:03:50 -03:00
Tim Graham 3631db88cb Fixed typo in form wizard docs. 2012-08-19 20:13:09 -04:00
Julien Phalip cccbb6bff3 Made some minor fixes to the GeoDjango installation guide. 2012-08-19 00:57:48 -07:00
Tim Graham 6086f7356d Merge pull request #271 from morty/patch-1
Fixed doc comment in django.contrib.admin example to match the code
2012-08-17 08:20:43 -07:00
Tim Graham 2a36a1a071 Fixed #18696 - Clarified WizardView heading; thanks sergzach. 2012-08-17 11:06:38 -04:00
Tom Mortimer-Jones 383da13785 Fixed comment to match the code 2012-08-15 19:41:16 +02:00
Tim Graham a04f68b15d Merge pull request #233 from rafikdraoui/modeladmin-doc
Updated example of customized ModelAdmin in documentation for 1.4
2012-08-05 10:21:14 -07:00
Julien Phalip 9ea4dc90b9 Small improvement to the `contrib.messages` doc introduction. 2012-08-04 15:46:15 -07:00
Claude Paroz 542c20b382 Fixed #18713 -- Fixed custom comment app name in comments docs
Thanks Pratyush for the report.
2012-08-04 17:38:18 +02:00
Tim Graham 083a3a4e39 Fixed #13904 - Documented how to avoid garbage collection messages in GIS.
Thanks Claude Peroz for the patch.
2012-08-03 05:17:52 -04:00
Tim Graham 07e10fbe9f Fixed #16941 - Clarified naturaltime output when the time is more than a day old.
Thanks antoviaque for the patch.
2012-08-02 07:54:07 -04:00
Tim Graham 39541be3bc Fixed #18581 - Updated admin actions screenshots. Thanks Kevin London. 2012-08-02 07:52:16 -04:00
Rafik Draoui 04e8ef5a83 Updated example of customized ModelAdmin in documentation for 1.4
The change_view method of django.contrib.admin.ModelAdmin takes an
extra `form_url` argument in Django 1.4.
2012-07-25 21:33:38 +01:00
Florian Apolloner 51a010135c Merge pull request #220 from dirn/staticfiles-docs-typo
Fix typo in staticfiles app documentation
2012-07-25 13:20:44 -07:00
Aymeric Augustin 69f4856f23 Fixed a typo in the admin reference docs.
Thanks Yohan Boniface for the report.
2012-07-25 10:57:30 +02:00
Andy Dirnberger a7928dedc8 Fix typo in staticfiles app documentation
In the documentation for the `static` template tag, a `::` was used prior to a `code-block`. Doing so caused the `code-block` line to render as code. Changing the `::` to `:` corrects the display.
2012-07-18 14:34:08 -04:00
Claude Paroz cdcdd131da Dropped support for GDAL < 1.5
GDAL 1.5 has been released in December 2007.
2012-07-15 21:10:32 +02:00
Aymeric Augustin fb46f243b4 Fixed #18625 -- Removed old-style use of url tag
from the documentation.
2012-07-15 11:19:50 +02:00
Claude Paroz b6215f6810 Updated links for MacOSX python installers 2012-07-13 17:49:50 +02:00
Claude Paroz e806f047f3 Removed old gis install instructions for obsolete distros 2012-07-12 19:44:15 +02:00
Tim Graham d44aa98184 Fixed #18173 - Corrected ModelAdmin documentation for get_changelist.
Thanks Keryn Knight for the report and vanessagomes for the patch.
2012-07-08 18:35:17 -04:00
Aymeric Augustin bbc590697a Removed Django 1.0-specific sections. 2012-07-07 16:44:55 +02:00
Jannis Leidel 0a68a2994b Fixed #18254 -- Added ability to the static template tags to store the result in a contextt variable. Many thanks to Andrei Antoukh for the initial patch. 2012-07-07 15:30:25 +02:00
Claude Paroz 03896eb5df Fixed #17026 -- Improved wording of contrib.messages' storage backends section 2012-06-30 22:21:23 +02:00
Claude Paroz 4f53e77f07 Fixed #18306 -- Removed most of GeoDjango-specific deployment docs 2012-06-28 13:42:36 +02:00
Claude Paroz 8a5d1a6b93 Updated obsolete links in the documentation 2012-06-28 10:49:07 +02:00
Florian Apolloner 7f225880e4 Corrected the `instance_dict` description for form wizards. 2012-06-22 15:46:49 +02:00
Daniel Hepper aee9eecb92 Fixed #18444 -- Replace hard coded "View on Site" URLs 2012-06-18 18:12:29 +02:00
Anssi Kääriäinen a035d9d650 Cleaned whitespace errors introduced in previous commit 2012-06-08 23:52:43 +03:00
Simon Charette b6d533af4d Fixed #18399 – Added a way to get ContentTypes for proxy models
Added kwargs for_concrete_model and for_concrete_models to ContentType
methods get_for_model() and get_for_models(). By setting the flag to
False, it is possible to get the contenttype for proxy models.
2012-06-08 23:07:58 +03:00
Aymeric Augustin c28e700c7e Removed references to changes made in 1.2.
Thanks Florian Apolloner for the patch.
2012-06-07 15:02:35 +02:00
Aymeric Augustin 17f3e9258e Fixed #18397 -- Avoided referencing lawrence.com.
This commit includes multiple small related changes, see the ticket
for a full discussion.
2012-06-07 11:50:20 +02:00
Aymeric Augustin 4ce5a5fe78 Fixed #18396 -- Changed Spatialite download URLs.
Thanks gabrielcw AT gmail.com for the report.
2012-06-07 11:19:10 +02:00
Aymeric Augustin 29a80354ab Added alt attribute to img tags in docs.
This is a good practice for accessibility.
Thanks Jessica McKellar for the report.
2012-06-06 10:32:03 +02:00
Glen Robertson 9a7261f688 Fixed typo on GeoQuerySet.geohash method. 2012-05-18 14:56:40 -07:00
Jeremy Cowgar c23d306df8 Added load i18n code to the base wizard form template documentation as it uses the trans tag. 2012-05-17 18:53:57 -04:00
Jannis Leidel 5f75ac91df Fixed #17896 -- Added file_hash method to CachedStaticFilesStorage to be able to customize the way the hashed name of a file is created. Thanks to mkai for the initial patch. 2012-05-16 13:21:50 +02:00
Aymeric Augustin c970bcf368 Fixed #18257 -- Typo in contenttypes docs. 2012-05-10 21:32:52 +02:00
Ramiro Morales e9a56606e7 Fixed broken URLs introduced in 1adc87cd32. 2012-05-03 12:42:56 -03:00
Ramiro Morales 1adc87cd32 Updated some URLs in the documentation to point to the new repository. 2012-05-03 11:53:17 -03:00
Claude Paroz aaa3382fdc Fixed #18246 -- Replaced bash-specific syntax in geodjango postgis helper script.
Thanks jose for the report.
2012-05-01 20:33:50 +02:00
Claude Paroz 596cb9c7e2 Replaced print statement by print function (forward compatibility syntax). 2012-04-30 20:45:03 +02:00
Claude Paroz 1858e47672 Fixed #18033 -- Removed function-based generic views, as per official deprecation timeline. Rest in peace! Thanks Anssi Kääriäinen for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-25 19:17:47 +00:00
Claude Paroz eb351ac9cb Fixed #18037 -- Changed behaviour of url and ssi template tags to the new syntax, as per official deprecation timeline. Thanks Ramiro Morales and Jannis Leidel for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-24 19:55:52 +00:00
Claude Paroz 3d5d0be499 Fixed #18156 -- Updated signature of ModelAdmin change_view in docs to reflect r17466. Thanks arthurprat for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-20 12:58:32 +00:00
Luke Plant 718f149bb2 Added more explicit warnings about unconfigured reStructured Text usage in docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-19 15:00:55 +00:00
Claude Paroz 749243941c Fixed #18041 -- Removed support for Markdown versions < 2.1, following the 1.5 deprecation timeline. Thanks Ramiro Morales for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-14 12:35:31 +00:00
Claude Paroz 844e56e21a Fixed #18039 -- Changed geometry transform without a SRID raise a GEOSException.
This was planned in the official deprecation timeline for 1.5.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-12 16:35:28 +00:00
Claude Paroz cbc411571a Fixed #18107 -- Replaced a deprecated import path for GeoIP in docs. Thanks jonash for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-11 21:35:08 +00:00
Julien Phalip 6f7aa51b2c Fixed #17864 -- Added Hong Kong localflavor. Thanks to mrkschan and Adrien Lemaire.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-09 17:25:02 +00:00
Claude Paroz 36ab8ae270 Fixed #17672 -- Precised MacPorts GeoDjango install instructions to install gdal with geos support. Thanks chosak for the report and the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-09 10:00:32 +00:00
Claude Paroz 60ceeda9d5 Fixed #18009 -- Cleaned up a comment about removal of the old contrib.syndication Feed class. Thanks Keryn Knight for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-02 19:50:28 +00:00
Claude Paroz a1ffb02107 Fixed #18029 -- Removed mod_python as of deprecation process. Thanks Aymeric Augustin for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 10:34:11 +00:00
Claude Paroz 23d3459761 Fixed #17965 -- Definitely dropped support for Python 2.5. Thanks jonash for the initial patch and Aymeric Augustin for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 08:24:29 +00:00
Julien Phalip 1101739668 Fixed #17936 -- Fixed a code sample in the admin `SimpleListFilter` documentation. Thanks to anonymous for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-21 05:57:22 +00:00
Claude Paroz 163c8def82 Fixed an indentation issue in GeoDjango installation docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-19 21:02:35 +00:00
Claude Paroz 6afc1d1a6b Fixed #17893 -- Added GeoDjango installation instructions for Ubuntu 11.10. Thanks jpaulett for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-19 20:44:51 +00:00
Claude Paroz b452439a6e Fixed #17915 -- Switched GeoModelAdmin default WMS layer URL from Metacarta to OSGeo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-17 20:13:06 +00:00
Claude Paroz c8c59c812c Fixed #13267 -- Updated GeoDjango tutorial for the 1.4 release. Thanks samueladam for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-16 21:41:19 +00:00
Claude Paroz 8ef60df067 Fixed #17607 -- Added homebrew section in Mac OS X-specific install instructions for GeoDjango. Thanks estibistec for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-15 13:16:27 +00:00
Paul McMillan 14df122f86 Fixed #17837. Improved markdown safety.
Markdown enable_attributes is now False when safe_mode is enabled. Documented
the markdown "safe" argument. Added warnings when the safe argument is
passed to versions of markdown which cannot be made safe. Deprecated
versions of markdown < 2.1. Many thanks to ptone for the patch.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@17735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-14 19:06:23 +00:00
Claude Paroz 21fb1c59c3 Updated some outdated external URLs in docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-14 07:41:02 +00:00
Claude Paroz 2a0f4578ef Fixed #17584 -- Updated create_template_postgis-debian.sh script for PostgreSQL 9.1 installs. Thanks akaihola for the initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-13 22:21:38 +00:00
Claude Paroz 78638a9a51 Replaced http by https in djangoproject.com links
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17703 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-13 17:53:31 +00:00
Jannis Leidel 0ee801e360 Fixed #17857 -- Stopped CachedStaticFilesStorage from creating absolute URLs unnecessarily. Thanks, tgecho.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-13 03:48:11 +00:00
Aymeric Augustin 60a62bf6f2 Fixed a typo in the sitemaps docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-04 09:33:28 +00:00
Aymeric Augustin c0e73a4909 Fixed #9995 -- Updated the installation instructions to recommend pip. Also fixed ReST errors. Refs #9112.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-03 09:11:54 +00:00
Carl Meyer 8cadf1d79a Fixed #17790 - Made the Ajax CSRF jQuery example work with jQuery in compatibility mode, too. Thanks Jonathan Hayward for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-02 16:06:11 +00:00
Carl Meyer b05abd8314 Fixed broken link to python-markdown in contrib.markup docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-01 19:32:48 +00:00
Luke Plant 0447cc1231 Added versionadded info for ensure_csrf_cookie decorator
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-27 14:40:36 +00:00
Luke Plant 59b2439e7e Fixed ReST typo in CSRF docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-27 14:40:27 +00:00
Timo Graham e4f468b940 Fixed #17749 - Documented better way of overriding ModelAdmin; thanks chrisdpratt and claudep.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-24 22:50:36 +00:00
Carl Meyer 2a1a0f47bb Fixed typo in GIS testing docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-17 20:09:40 +00:00
Adrian Holovaty 7981efe04f Documentation (and some small source code) edits from [17432] - [17537]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-17 20:04:11 +00:00
Jannis Leidel 803de60c08 Stopped the collectstatic management from being wastful with file handlers. Refs r17519.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-14 09:55:09 +00:00
Aymeric Augustin d1f8555500 Fixed #16150 -- Added 'feed_url' and clarified 'link' in the Feed reference docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-12 15:18:24 +00:00
Ramiro Morales 4b81d790a8 Updated SpatiaLite GeoDjango test setup instructions for version 3.0.
Also, fixed documentation typos introduced in r17496.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11 18:01:53 +00:00
Ramiro Morales 8a986cb5bc Fixed small errors in GeoDjango tutorial, enhanced code pygmentation in install document.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11 01:48:45 +00:00
Ramiro Morales c406b554c7 Added, documented support for SpatiaLite 3.0 to GeoDjango.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11 00:40:18 +00:00
Ramiro Morales ad8022f89a Updated a couple of links in GeoDjango install doc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-10 02:34:06 +00:00
Ramiro Morales 8d381acb24 Made some small tweaks to GeoDjango docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-10 01:40:43 +00:00
Jannis Leidel 4dbeb4bca4 Fixed #17515 -- Added ability to override the template of custom admin FilterSpec classes. Thanks, saxix and Julien Phalip.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-09 18:59:05 +00:00
Adrian Holovaty 6ecadcbdd2 Made a bunch more edits up until [17418]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17428 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-03 20:45:45 +00:00
Aymeric Augustin a4b472dd80 Fixed #8995 -- Added support for HTTPS in sitemaps.
Modularized tests and did a bit of cleanup while I was in the area.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@17409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-29 19:24:32 +00:00
Aymeric Augustin 123f567093 Fixed #2713 -- Made the name of the sitemap view a parameter of the sitemap index view, in order to allow decorators. Also cleaned up code in the area and removed redundant comments from the tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-29 09:30:28 +00:00
Aymeric Augustin 1cc800783c Fixed #5968 -- Allowed (un-)registering with databrowse several models at once.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-28 20:54:48 +00:00
Aymeric Augustin 58346e92fa Fixed #17572 —— A few grammar errors in the comments framework example page.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-21 15:42:37 +00:00
Aymeric Augustin c3697a091b Fixed #10756 -- Error in the formats accepted by PLNIPField. Thanks remik for the report, michalm for the patch and claudep for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-07 11:17:44 +00:00
Adrian Holovaty 937213c2c3 Edited csrf.txt changes from [17299]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30 20:36:54 +00:00
Adrian Holovaty 103890561b Moved 'User-requested password resets' docs from [17266] from auth docs to admin docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30 20:23:26 +00:00
Aymeric Augustin 39201d8fe5 Fixed #16704 -- Documented how to insert the CSRF token outside of Django's own template engine. Thanks paulcwatts and bpeschier for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30 14:55:44 +00:00