Changeset 4420
- Timestamp:
- 01/24/07 14:08:47 (2 years ago)
- Files:
-
- django/trunk/docs/add_ons.txt (modified) (8 diffs)
- django/trunk/docs/apache_auth.txt (modified) (1 diff)
- django/trunk/docs/api_stability.txt (modified) (1 diff)
- django/trunk/docs/authentication.txt (modified) (8 diffs)
- django/trunk/docs/cache.txt (modified) (1 diff)
- django/trunk/docs/contributing.txt (modified) (2 diffs)
- django/trunk/docs/design_philosophies.txt (modified) (1 diff)
- django/trunk/docs/django-admin.txt (modified) (3 diffs)
- django/trunk/docs/email.txt (modified) (2 diffs)
- django/trunk/docs/faq.txt (modified) (10 diffs)
- django/trunk/docs/fastcgi.txt (modified) (1 diff)
- django/trunk/docs/flatpages.txt (modified) (3 diffs)
- django/trunk/docs/forms.txt (modified) (2 diffs)
- django/trunk/docs/generic_views.txt (modified) (3 diffs)
- django/trunk/docs/i18n.txt (modified) (7 diffs)
- django/trunk/docs/install.txt (modified) (1 diff)
- django/trunk/docs/legacy_databases.txt (modified) (3 diffs)
- django/trunk/docs/middleware.txt (modified) (4 diffs)
- django/trunk/docs/modpython.txt (modified) (1 diff)
- django/trunk/docs/outputting_csv.txt (modified) (2 diffs)
- django/trunk/docs/outputting_pdf.txt (modified) (1 diff)
- django/trunk/docs/overview.txt (modified) (1 diff)
- django/trunk/docs/redirects.txt (modified) (3 diffs)
- django/trunk/docs/request_response.txt (modified) (2 diffs)
- django/trunk/docs/sessions.txt (modified) (2 diffs)
- django/trunk/docs/settings.txt (modified) (12 diffs)
- django/trunk/docs/sitemaps.txt (modified) (6 diffs)
- django/trunk/docs/sites.txt (modified) (2 diffs)
- django/trunk/docs/static_files.txt (modified) (3 diffs)
- django/trunk/docs/syndication_feeds.txt (modified) (5 diffs)
- django/trunk/docs/templates_python.txt (modified) (6 diffs)
- django/trunk/docs/templates.txt (modified) (2 diffs)
- django/trunk/docs/tutorial01.txt (modified) (4 diffs)
- django/trunk/docs/tutorial02.txt (modified) (4 diffs)
- django/trunk/docs/tutorial03.txt (modified) (4 diffs)
- django/trunk/docs/tutorial04.txt (modified) (3 diffs)
- django/trunk/docs/url_dispatch.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/add_ons.txt
r4164 r4420 18 18 `Tutorial 2`_. 19 19 20 .. _Tutorial 2: http://www.djangoproject.com/documentation/tutorial2/20 .. _Tutorial 2: ../tutorial2/ 21 21 22 22 auth … … 27 27 See the `authentication documentation`_. 28 28 29 .. _authentication documentation: http://www.djangoproject.com/documentation/authentication/29 .. _authentication documentation: ../authentication/ 30 30 31 31 comments … … 47 47 See the `csrf documentation`_. 48 48 49 .. _csrf documentation: http://www.djangoproject.com/documentation/csrf/49 .. _csrf documentation: ../csrf/ 50 50 51 51 formtools … … 138 138 See the `flatpages documentation`_. 139 139 140 .. _flatpages documentation: http://www.djangoproject.com/documentation/flatpages/140 .. _flatpages documentation: ../flatpages/ 141 141 142 142 markup … … 158 158 See the `redirects documentation`_. 159 159 160 .. _redirects documentation: http://www.djangoproject.com/documentation/redirects/160 .. _redirects documentation: ../redirects/ 161 161 162 162 sites … … 169 169 See the `sites documentation`_. 170 170 171 .. _sites documentation: http://www.djangoproject.com/documentation/sites/171 .. _sites documentation: ../sites/ 172 172 173 173 sitemaps … … 178 178 See the `sitemaps documentation`_. 179 179 180 .. _sitemaps documentation: http://www.djangoproject.com/documentation/sitemaps/180 .. _sitemaps documentation: ../sitemaps/ 181 181 182 182 syndication … … 187 187 See the `syndication documentation`_. 188 188 189 .. _syndication documentation: http://www.djangoproject.com/documentation/syndication/189 .. _syndication documentation: ../syndication/ 190 190 191 191 Other add-ons django/trunk/docs/apache_auth.txt
r3842 r4420 66 66 PythonOption DJANGO_SETTINGS_MODULE mysite.settings 67 67 68 .. _authentication system: http://www.djangoproject.com/documentation/authentication/68 .. _authentication system: ../authentication/ 69 69 .. _Subversion: http://subversion.tigris.org/ 70 70 .. _mod_dav: http://httpd.apache.org/docs/2.0/mod/mod_dav.html 71 .. _custom permissions: http://www.djangoproject.com/documentation/authentication/#custom-permissions71 .. _custom permissions: ../authentication/#custom-permissions django/trunk/docs/api_stability.txt
r3883 r4420 99 99 there will at least be moderate changes. 100 100 101 .. _caching: http://www.djangoproject.com/documentation/cache/102 .. _custom template tags and libraries: http://www.djangoproject.com/documentation/templates_python/103 .. _database lookup: http://www.djangoproject.com/documentation/db_api/104 .. _django-admin utility: http://www.djangoproject.com/documentation/django_admin/105 .. _fastcgi integration: http://www.djangoproject.com/documentation/fastcgi/106 .. _flatpages: http://www.djangoproject.com/documentation/flatpages/107 .. _generic views: http://www.djangoproject.com/documentation/generic_views/108 .. _internationalization: http://www.djangoproject.com/documentation/i18n/109 .. _legacy database integration: http://www.djangoproject.com/documentation/legacy_databases/110 .. _model definition: http://www.djangoproject.com/documentation/model_api/111 .. _mod_python integration: http://www.djangoproject.com/documentation/modpython/112 .. _redirects: http://www.djangoproject.com/documentation/redirects/113 .. _request/response objects: http://www.djangoproject.com/documentation/request_response/114 .. _sending email: http://www.djangoproject.com/documentation/email/115 .. _sessions: http://www.djangoproject.com/documentation/sessions/116 .. _settings: http://www.djangoproject.com/documentation/settings/117 .. _syndication: http://www.djangoproject.com/documentation/syndication/118 .. _template language: http://www.djangoproject.com/documentation/templates/119 .. _transactions: http://www.djangoproject.com/documentation/transactions/120 .. _url dispatch: http://www.djangoproject.com/documentation/url_dispatch/121 .. _forms and validation: http://www.djangoproject.com/documentation/forms/122 .. _serialization: http://www.djangoproject.com/documentation/serialization/123 .. _authentication: http://www.djangoproject.com/documentation/authentication/101 .. _caching: ../cache/ 102 .. _custom template tags and libraries: ../templates_python/ 103 .. _database lookup: ../db_api/ 104 .. _django-admin utility: ../django_admin/ 105 .. _fastcgi integration: ../fastcgi/ 106 .. _flatpages: ../flatpages/ 107 .. _generic views: ../generic_views/ 108 .. _internationalization: ../i18n/ 109 .. _legacy database integration: ../legacy_databases/ 110 .. _model definition: ../model_api/ 111 .. _mod_python integration: ../modpython/ 112 .. _redirects: ../redirects/ 113 .. _request/response objects: ../request_response/ 114 .. _sending email: ../email/ 115 .. _sessions: ../sessions/ 116 .. _settings: ../settings/ 117 .. _syndication: ../syndication/ 118 .. _template language: ../templates/ 119 .. _transactions: ../transactions/ 120 .. _url dispatch: ../url_dispatch/ 121 .. _forms and validation: ../forms/ 122 .. _serialization: ../serialization/ 123 .. _authentication: ../authentication/ django/trunk/docs/authentication.txt
r3961 r4420 145 145 doesn't allow profiles. 146 146 147 .. _Django model: http://www.djangoproject.com/documentation/model_api/148 .. _DEFAULT_FROM_EMAIL: http://www.djangoproject.com/documentation/settings/#default-from-email147 .. _Django model: ../model_api/ 148 .. _DEFAULT_FROM_EMAIL: ../settings/#default-from-email 149 149 150 150 Manager functions … … 272 272 # Do something for anonymous users. 273 273 274 .. _request objects: http://www.djangoproject.com/documentation/request_response/#httprequest-objects275 .. _session documentation: http://www.djangoproject.com/documentation/sessions/274 .. _request objects: ../request_response/#httprequest-objects 275 .. _session documentation: ../sessions/ 276 276 277 277 How to log a user in … … 442 442 {% endblock %} 443 443 444 .. _forms documentation: http://www.djangoproject.com/documentation/forms/445 .. _site framework docs: http://www.djangoproject.com/documentation/sites/444 .. _forms documentation: ../forms/ 445 .. _site framework docs: ../sites/ 446 446 447 447 Limiting access to logged-in users that pass a test … … 545 545 return object_detail(*args, **kwargs) 546 546 547 .. _generic view: http://www.djangoproject.com/documentation/generic_views/547 .. _generic view: ../generic_views/ 548 548 549 549 Permissions … … 607 607 ``syncdb``. 608 608 609 .. _model Meta attribute: http://www.djangoproject.com/documentation/model_api/#meta-options609 .. _model Meta attribute: ../model_api/#meta-options 610 610 611 611 API reference … … 646 646 For more, see the `RequestContext docs`_. 647 647 648 .. _RequestContext docs: http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext648 .. _RequestContext docs: ../templates_python/#subclassing-context-requestcontext 649 649 650 650 Users … … 692 692 {% endif %} 693 693 694 .. _template context: http://www.djangoproject.com/documentation/templates_python/694 .. _template context: ../templates_python/ 695 695 696 696 Groups … … 757 757 database. To send messages to anonymous users, use the `session framework`_. 758 758 759 .. _session framework: http://www.djangoproject.com/documentation/sessions/759 .. _session framework: ../sessions/ 760 760 761 761 Other authentication sources django/trunk/docs/cache.txt
r3604 r4420 251 251 See the `middleware documentation`_ for more on middleware. 252 252 253 .. _`middleware documentation`: http://www.djangoproject.com/documentation/middleware/253 .. _`middleware documentation`: ../middleware/ 254 254 255 255 The per-view cache django/trunk/docs/contributing.txt
r4348 r4420 233 233 234 234 .. _Django i18n mailing list: http://groups.google.com/group/django-i18n/ 235 .. _i18n documentation: http://www.djangoproject.com/documentation/i18n/235 .. _i18n documentation: ../i18n/ 236 236 237 237 Coding style … … 358 358 how to write new tests. 359 359 360 .. _Testing Django applications: http://www.djangoproject.com/documentation/testing/360 .. _Testing Django applications: ../testing/ 361 361 362 362 Running the unit tests django/trunk/docs/design_philosophies.txt
r3438 r4420 187 187 This is the philosophy behind `template inheritance`_. 188 188 189 .. _template inheritance: http://www.djangoproject.com/documentation/templates/#template-inheritance189 .. _template inheritance: ./templates/#template-inheritance 190 190 191 191 Be decoupled from HTML django/trunk/docs/django-admin.txt
r3841 r4420 54 54 your admin's index page. See `Tutorial 2`_ for more information. 55 55 56 .. _Tutorial 2: http://www.djangoproject.com/documentation/tutorial2/56 .. _Tutorial 2: ../tutorial2/ 57 57 58 58 createcachetable [tablename] … … 62 62 backend. See the `cache documentation`_ for more information. 63 63 64 .. _cache documentation: http://www.djangoproject.com/documentation/cache/64 .. _cache documentation: ../cache/ 65 65 66 66 dbshell … … 191 191 documentation. 192 192 193 .. _serving static files: http://www.djangoproject.com/documentation/static_files/193 .. _serving static files: ../static_files/ 194 194 195 195 Turning off auto-reload django/trunk/docs/email.txt
r2901 r4420 102 102 This method exists for convenience and readability. 103 103 104 .. _ADMINS setting: http://www.djangoproject.com/documentation/settings/#admins105 .. _EMAIL_SUBJECT_PREFIX setting: http://www.djangoproject.com/documentation/settings/#email-subject-prefix106 .. _SERVER_EMAIL setting: http://www.djangoproject.com/documentation/settings/#server-email104 .. _ADMINS setting: ../settings/#admins 105 .. _EMAIL_SUBJECT_PREFIX setting: ../settings/#email-subject-prefix 106 .. _SERVER_EMAIL setting: ../settings/#server-email 107 107 108 108 mail_managers() function … … 115 115 mail_managers(subject, message, fail_silently=False) 116 116 117 .. _MANAGERS setting: http://www.djangoproject.com/documentation/settings/#managers117 .. _MANAGERS setting: ../settings/#managers 118 118 119 119 Examples django/trunk/docs/faq.txt
r3917 r4420 64 64 application layer. And it ships with a simple-yet-powerful `cache framework`_. 65 65 66 .. _`cache framework`: http://www.djangoproject.com/documentation/cache/66 .. _`cache framework`: ../cache/ 67 67 68 68 Who's behind this? … … 192 192 We've documented our philosophies on the `design philosophies page`_. 193 193 194 .. _design philosophies page: http://www.djangoproject.com/documentation/design_philosophies/194 .. _design philosophies page: ../design_philosophies/ 195 195 196 196 Do you have any of those nifty "screencast" things? … … 278 278 279 279 .. _`Download the code`: http://www.djangoproject.com/download/ 280 .. _`installation guide`: http://www.djangoproject.com/documentation/install/281 .. _tutorial: http://www.djangoproject.com/documentation/tutorial1/282 .. _documentation: http://www.djangoproject.com/documentation/280 .. _`installation guide`: ../install/ 281 .. _tutorial: ../tutorial1/ 282 .. _documentation: ../ 283 283 .. _ask questions: http://www.djangoproject.com/community/ 284 284 … … 338 338 339 339 .. _WSGI: http://www.python.org/peps/pep-0333.html 340 .. _How to use Django with FastCGI: http://www.djangoproject.com/documentation/fastcgi/340 .. _How to use Django with FastCGI: ../fastcgi/ 341 341 .. _server arrangements wiki page: http://code.djangoproject.com/wiki/ServerArrangements 342 342 … … 465 465 Yes. See `Integrating with a legacy database`_. 466 466 467 .. _`Integrating with a legacy database`: http://www.djangoproject.com/documentation/legacy_databases/467 .. _`Integrating with a legacy database`: ../legacy_databases/ 468 468 469 469 If I make changes to a model, how do I update the database? … … 512 512 contain arbitrary SQL, so you can make any sorts of changes you need to make. 513 513 514 .. _SQL initial data file: http://www.djangoproject.com/documentation/model_api/#providing-initial-sql-data514 .. _SQL initial data file: ../model_api/#providing-initial-sql-data 515 515 516 516 Why is Django leaking memory? … … 593 593 documentation. 594 594 595 .. _serving the admin files: http://www.djangoproject.com/documentation/modpython/#serving-the-admin-files595 .. _serving the admin files: ../modpython/#serving-the-admin-files 596 596 597 597 My "list_filter" contains a ManyToManyField, but the filter doesn't display. … … 631 631 `guide to the CSS used in the admin`_ to get you started. 632 632 633 .. _`guide to the CSS used in the admin`: http://www.djangoproject.com/documentation/admin_css/633 .. _`guide to the CSS used in the admin`: ../admin_css/ 634 634 635 635 How do I create users without having to edit password hashes? … … 641 641 You can also use the Python API. See `creating users`_ for full info. 642 642 643 .. _creating users: http://www.djangoproject.com/documentation/authentication/#creating-users643 .. _creating users: ../authentication/#creating-users 644 644 645 645 Contributing code … … 652 652 It's titled `Contributing to Django`_. 653 653 654 .. _Contributing to Django: http://www.djangoproject.com/documentation/contributing/654 .. _Contributing to Django: ../contributing/ 655 655 656 656 I submitted a bug fix in the ticket system several weeks ago. Why are you ignoring my patch? django/trunk/docs/fastcgi.txt
r3759 r4420 18 18 persistent process. 19 19 20 .. _current preferred setup: http://www.djangoproject.com/documentation/modpython/20 .. _current preferred setup: ../modpython/ 21 21 .. _Apache: http://httpd.apache.org/ 22 22 .. _mod_python: http://www.modpython.org/ django/trunk/docs/flatpages.txt
r2813 r4420 30 30 3. Run the command ``manage.py syncdb``. 31 31 32 .. _INSTALLED_APPS: http://www.djangoproject.com/documentation/settings/#installed-apps33 .. _MIDDLEWARE_CLASSES: http://www.djangoproject.com/documentation/settings/#middleware-classes32 .. _INSTALLED_APPS: ../settings/#installed-apps 33 .. _MIDDLEWARE_CLASSES: ../settings/#middleware-classes 34 34 35 35 How it works … … 64 64 For more on middleware, read the `middleware docs`_. 65 65 66 .. _SITE_ID: http://www.djangoproject.com/documentation/settings/#site-id67 .. _RequestContext: http://www.djangoproject.com/documentation/templates_python/#subclassing-context-djangocontext68 .. _middleware docs: http://www.djangoproject.com/documentation/middleware/66 .. _SITE_ID: ../settings/#site-id 67 .. _RequestContext: ../templates_python/#subclassing-context-djangocontext 68 .. _middleware docs: ../middleware/ 69 69 70 70 How to add, change and delete flatpages … … 85 85 `Django database API`_. 86 86 87 .. _Django model: http://www.djangoproject.com/documentation/model_api/87 .. _Django model: ../model_api/ 88 88 .. _django/contrib/flatpages/models.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/flatpages/models.py 89 .. _Django database API: http://www.djangoproject.com/documentation/db_api/89 .. _Django database API: ../db_api/ 90 90 91 91 Flatpage templates django/trunk/docs/forms.txt
r4208 r4420 15 15 that document to understand how we're making the switch. 16 16 17 .. _newforms documentation: http://www.djangoproject.com/documentation/newforms/17 .. _newforms documentation: ../newforms/ 18 18 19 19 Introduction … … 666 666 document for more details). 667 667 668 .. _`generic views`: http://www.djangoproject.com/documentation/generic_views/669 .. _`models API`: http://www.djangoproject.com/documentation/model_api/670 .. _settings: http://www.djangoproject.com/documentation/settings/668 .. _`generic views`: ../generic_views/ 669 .. _`models API`: ../model_api/ 670 .. _settings: ../settings/ django/trunk/docs/generic_views.txt
r4397 r4420 72 72 lambda that returns the QuerySet. 73 73 74 .. _database API docs: http://www.djangoproject.com/documentation/db_api/74 .. _database API docs: ../db_api/ 75 75 76 76 "Simple" generic views … … 224 224 ``latest`` will be a list of the latest 10 objects in ``queryset``. 225 225 226 .. _RequestContext docs: http://www.djangoproject.com/documentation/templates_python/#subclassing-context-djangocontext226 .. _RequestContext docs: ../templates_python/#subclassing-context-djangocontext 227 227 228 228 ``django.views.generic.date_based.archive_year`` … … 917 917 about using ``FormWrapper`` objects in templates. 918 918 919 .. _authentication system: http://www.djangoproject.com/documentation/authentication/920 .. _manipulator and formfield documentation: http://www.djangoproject.com/documentation/forms/919 .. _authentication system: ../authentication/ 920 .. _manipulator and formfield documentation: ../forms/ 921 921 922 922 ``django.views.generic.create_update.update_object`` django/trunk/docs/i18n.txt
r3608 r4420 54 54 from your ``TEMPLATE_CONTEXT_PROCESSORS`` setting. 55 55 56 .. _documentation for USE_I18N: http://www.djangoproject.com/documentation/settings/#use-i18n56 .. _documentation for USE_I18N: ../settings/#use-i18n 57 57 58 58 How to specify translation strings … … 176 176 verbose_name_plural = _('mythings') 177 177 178 .. _Django models: http://www.djangoproject.com/documentation/model_api/178 .. _Django models: ../model_api/ 179 179 180 180 Pluralization … … 275 275 string, so they don't need to be aware of translations. 276 276 277 .. _Django templates: http://www.djangoproject.com/documentation/templates_python/277 .. _Django templates: ../templates_python/ 278 278 279 279 How to create language files … … 395 395 the steps to take. 396 396 397 .. _Submitting and maintaining translations: http://www.djangoproject.com/documentation/contributing/397 .. _Submitting and maintaining translations: ../contributing/ 398 398 399 399 How Django discovers language preference … … 473 473 en-us). 474 474 475 .. _LANGUAGES setting: http://www.djangoproject.com/documentation/settings/#languages475 .. _LANGUAGES setting: ../settings/#languages 476 476 477 477 * If you define a custom ``LANGUAGES`` setting, as explained in the … … 531 531 in ``request.LANGUAGE_CODE``. 532 532 533 .. _settings file: http://www.djangoproject.com/documentation/settings/534 .. _middleware documentation: http://www.djangoproject.com/documentation/middleware/535 .. _session: http://www.djangoproject.com/documentation/sessions/536 .. _request object: http://www.djangoproject.com/documentation/request_response/#httprequest-objects533 .. _settings file: ../settings/ 534 .. _middleware documentation: ../middleware/ 535 .. _session: ../sessions/ 536 .. _request object: ../request_response/#httprequest-objects 537 537 538 538 The ``set_language`` redirect view … … 600 600 if you're manually configuring your settings.) 601 601 602 .. _settings documentation: http://www.djangoproject.com/documentation/settings/#using-settings-without-the-django-settings-module-environment-variable602 .. _settings documentation: ../settings/#using-settings-without-the-django-settings-module-environment-variable 603 603 604 604 All message file repositories are structured the same way. They are: django/trunk/docs/install.txt
r4293 r4420 39 39 .. _mod_python: http://www.modpython.org/ 40 40 .. _WSGI: http://www.python.org/peps/pep-0333.html 41 .. _How to use Django with mod_python: http://www.djangoproject.com/documentation/modpython/41 .. _How to use Django with mod_python: ../modpython/ 42 42 .. _server-arrangements wiki page: http://code.djangoproject.com/wiki/ServerArrangements 43 43 django/trunk/docs/legacy_databases.txt
r4243 r4420 10 10 `official tutorial`_. 11 11 12 .. _official tutorial: http://www.djangoproject.com/documentation/tutorial1/12 .. _official tutorial: ../tutorial1/ 13 13 14 14 Give Django your database parameters … … 26 26 * `DATABASE_PORT`_ 27 27 28 .. _settings file: http://www.djangoproject.com/documentation/settings/29 .. _DATABASE_NAME: http://www.djangoproject.com/documentation/settings/#database-name30 .. _DATABASE_ENGINE: http://www.djangoproject.com/documentation/settings/#database-engine31 .. _DATABASE_USER: http://www.djangoproject.com/documentation/settings/#database-user32 .. _DATABASE_PASSWORD: http://www.djangoproject.com/documentation/settings/#database-password33 .. _DATABASE_HOST: http://www.djangoproject.com/documentation/settings/#database-host34 .. _DATABASE_PORT: http://www.djangoproject.com/documentation/settings/#database-port28 .. _settings file: ../settings/ 29 .. _DATABASE_NAME: ../settings/#database-name 30 .. _DATABASE_ENGINE: ../settings/#database-engine 31 .. _DATABASE_USER: ../settings/#database-user 32 .. _DATABASE_PASSWORD: ../settings/#database-password 33 .. _DATABASE_HOST: ../settings/#database-host 34 .. _DATABASE_PORT: ../settings/#database-port 35 35 36 36 Auto-generate the models … … 53 53 ``INSTALLED_APPS`` setting. 54 54 55 .. _django-admin.py documentation: http://www.djangoproject.com/documentation/django_admin/55 .. _django-admin.py documentation: ../django_admin/ 56 56 57 57 Install the core Django tables django/trunk/docs/middleware.txt
r4282 r4420 48 48 the `cache documentation`_. 49 49 50 .. _`cache documentation`: http://www.djangoproject.com/documentation/cache/#the-per-site-cache50 .. _`cache documentation`: ../cache/#the-per-site-cache 51 51 52 52 django.middleware.common.CommonMiddleware … … 124 124 Enables session support. See the `session documentation`_. 125 125 126 .. _`session documentation`: http://www.djangoproject.com/documentation/sessions/126 .. _`session documentation`: ../sessions/ 127 127 128 128 django.contrib.auth.middleware.AuthenticationMiddleware … … 132 132 every incoming ``HttpRequest`` object. See `Authentication in Web requests`_. 133 133 134 .. _Authentication in Web requests: http://www.djangoproject.com/documentation/authentication/#authentication-in-web-requests134 .. _Authentication in Web requests: ../authentication/#authentication-in-web-requests 135 135 136 136 django.middleware.transaction.TransactionMiddleware … … 148 148 See the `transaction management documentation`_. 149 149 150 .. _`transaction management documentation`: http://www.djangoproject.com/documentation/transactions/150 .. _`transaction management documentation`: ../transactions/ 151 151 152 152 Writing your own middleware django/trunk/docs/modpython.txt
r3939 r4420 21 21 .. _prefork MPM: http://httpd.apache.org/docs/2.2/mod/prefork.html 22 22 .. _worker MPM: http://httpd.apache.org/docs/2.2/mod/worker.html 23 .. _How to use Django with FastCGI: http://www.djangoproject.com/documentation/fastcgi/23 .. _How to use Django with FastCGI: ../fastcgi/ 24 24 25 25 Basic configuration django/trunk/docs/outputting_csv.txt
r2809 r4420 25 25 For more information on the CSV library, see the `CSV library docs`_. 26 26 27 .. _Request and response objects: http://www.djangoproject.com/documentation/request_response/27 .. _Request and response objects: ../request_response/ 28 28 .. _CSV library docs: http://www.python.org/doc/current/lib/module-csv.html 29 29 … … 116 116 have single or double quotes in it, you can remove the ``addslashes`` filters. 117 117 118 .. _Django template system: http://www.djangoproject.com/documentation/templates/119 .. _addslashes template filter: http://www.djangoproject.com/documentation/templates/#addslashes118 .. _Django template system: ../templates/ 119 .. _addslashes template filter: ../templates/#addslashes django/trunk/docs/outputting_pdf.txt
r3299 r4420 44 44 `Request and response objects`_. 45 45 46 .. _Request and response objects: http://www.djangoproject.com/documentation/request_response/46 .. _Request and response objects: ../request_response/ 47 47 48 48 Here's a "Hello World" example:: django/trunk/docs/overview.txt
r3654 r4420 12 12 to start a project. 13 13 14 .. _documentation: http://www.djangoproject.com/documentation/14 .. _documentation: ../ 15 15 16 16 Design your model django/trunk/docs/redirects.txt
r4229 r4420 16 16 3. Run the command ``manage.py syncdb``. 17 17 18 .. _INSTALLED_APPS: http://www.djangoproject.com/documentation/settings/#installed-apps19 .. _MIDDLEWARE_CLASSES: http://www.djangoproject.com/documentation/settings/#middleware-classes18 .. _INSTALLED_APPS: ../settings/#installed-apps 19 .. _MIDDLEWARE_CLASSES: ../settings/#middleware-classes 20 20 21 21 How it works … … 47 47 For more on middleware, read the `middleware docs`_. 48 48 49 .. _SITE_ID: http://www.djangoproject.com/documentation/settings/#site-id50 .. _middleware docs: http://www.djangoproject.com/documentation/middleware/49 .. _SITE_ID: ../settings/#site-id 50 .. _middleware docs: ../middleware/ 51 51 52 52 How to add, change and delete redirects … … 67 67 objects via the `Django database API`_. 68 68 69 .. _Django model: http://www.djangoproject.com/documentation/model_api/69 .. _Django model: ../model_api/ 70 70 .. _django/contrib/redirects/models.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/redirects/models.py 71 .. _Django database API: http://www.djangoproject.com/documentation/db_api/71 .. _Django database API: ../db_api/ django/trunk/docs/request_response.txt
r3913 r4420 118 118 `Authentication in Web requests`_. 119 119 120 .. _Authentication in Web requests: http://www.djangoproject.com/documentation/authentication/#authentication-in-web-requests120 .. _Authentication in Web requests: ../authentication/#authentication-in-web-requests 121 121 122 122 ``session`` … … 125 125 support activated. See the `session documentation`_ for full details. 126 126 127 .. _`session documentation`: http://www.djangoproject.com/documentation/sessions/127 .. _`session documentation`: ../sessions/ 128 128 129 129 ``raw_post_data`` django/trunk/docs/sessions.txt
r4268 r4420 28 28 from your ``INSTALLED_APPS``. It'll save you a small bit of overhead. 29 29 30 .. _middleware: http://www.djangoproject.com/documentation/middleware/30 .. _middleware: ../middleware/ 31 31 32 32 Using sessions in views … … 291 291 that is, if any of its dictionary values have been assigned or deleted. 292 292 293 .. _Django settings: http://www.djangoproject.com/documentation/settings/293 .. _Django settings: ../settings/ 294 294 295 295 Technical details django/trunk/docs/settings.txt
r4399 r4420 60 60 django-admin.py runserver --settings=mysite.settings 61 61 62 .. _django-admin.py: http://www.djangoproject.com/documentation/django_admin/62 .. _django-admin.py: ../django_admin/ 63 63 64 64 On the server (mod_python) … … 76 76 Read the `Django mod_python documentation`_ for more information. 77 77 78 .. _Django mod_python documentation: http://www.djangoproject.com/documentation/modpython/78 .. _Django mod_python documentation: ../modpython/ 79 79 80 80 Default settings … … 103 103 For more, see the `diffsettings documentation`_. 104 104 105 .. _diffsettings documentation: http://www.djangoproject.com/documentation/django_admin/#diffsettings105 .. _diffsettings documentation: ../django_admin/#diffsettings 106 106 107 107 Using settings in Python code … … 307 307 See also DATETIME_FORMAT, TIME_FORMAT, YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT. 308 308 309 .. _allowed date format strings: http://www.djangoproject.com/documentation/templates/#now309 .. _allowed date format strings: ../templates/#now 310 310 311 311 DATETIME_FORMAT … … 320 320 See also DATE_FORMAT, DATETIME_FORMAT, TIME_FORMAT, YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT. 321 321 322 .. _allowed date format strings: http://www.djangoproject.com/documentation/templates/#now322 .. _allowed date format strings: ../templates/#now 323 323 324 324 DEBUG … … 434 434 contains a Django application, as created by `django-admin.py startapp`_. 435 435 436 .. _django-admin.py startapp: http://www.djangoproject.com/documentation/django_admin/#startapp-appname436 .. _django-admin.py startapp: ../django_admin/#startapp-appname 437 437 438 438 INTERNAL_IPS … … 465 465 `internationalization docs`_. 466 466 467 .. _internationalization docs: http://www.djangoproject.com/documentation/i18n/467 .. _internationalization docs: ../i18n/ 468 468 469 469 LANGUAGES … … 618 618 ``"mydjangoapps.urls"``. See `How Django processes a request`_. 619 619 620 .. _How Django processes a request: http://www.djangoproject.com/documentation/url_dispatch/#how-django-processes-a-request620 .. _How Django processes a request: ../url_dispatch/#how-django-processes-a-request 621 621 622 622 SECRET_KEY … … 710 710 See the `site framework docs`_. 711 711 712 .. _site framework docs: http://www.djangoproject.com/documentation/sites/712 .. _site framework docs: ../sites/ 713 713 714 714 TEMPLATE_CONTEXT_PROCESSORS … … 766 766 misspelled) variables. See `How invalid variables are handled`_. 767 767 768 .. _How invalid variables are handled: http://www.djangoproject.com/documentation/templates_python/#how-invalid-variables-are-handled768 .. _How invalid variables are handled: ../templates_python/#how-invalid-variables-are-handled 769 769 770 770 TEST_RUNNER … … 804 804 MONTH_DAY_FORMAT. 805 805 806 .. _allowed date format strings: http://www.djangoproject.com/documentation/templates/#now806 .. _allowed date format strings: ../templates/#now 807 807 808 808 TIME_ZONE … … 874 874 TIME_FORMAT and MONTH_DAY_FORMAT. 875 875 876 .. _cache docs: http://www.djangoproject.com/documentation/cache/877 .. _middleware docs: http://www.djangoproject.com/documentation/middleware/878 .. _session docs: http://www.djangoproject.com/documentation/sessions/876 .. _cache docs: ../cache/ 877 .. _middleware docs: ../middleware/ 878 .. _session docs: ../sessions/ 879 879 .. _See available choices: http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE 880 .. _template documentation: http://www.djangoproject.com/documentation/templates_python/880 .. _template documentation: ../templates_python/ 881 881 882 882 Creating your own settings django/trunk/docs/sitemaps.txt
r4088 r4420 24 24 write a ``Sitemap`` class and point to it in your URLconf_. 25 25 26 .. _syndication framework: http://www.djangoproject.com/documentation/syndication/27 .. _URLconf: http://www.djangoproject.com/documentation/url_dispatch/26 .. _syndication framework: ../syndication/ 27 .. _URLconf: ../url_dispatch/ 28 28 29 29 Installation … … 42 42 ``load_template_source`` template loader can find the default templates.) 43 43 44 .. _INSTALLED_APPS: http://www.djangoproject.com/documentation/settings/#installed-apps45 .. _TEMPLATE_LOADERS: http://www.djangoproject.com/documentation/settings/#template-loaders46 .. _sites framework: http://www.djangoproject.com/documentation/sites/44 .. _INSTALLED_APPS: ../settings/#installed-apps 45 .. _TEMPLATE_LOADERS: ../settings/#template-loaders 46 .. _sites framework: ../sites/ 47 47 48 48 Initialization … … 69 69 (e.g., ``BlogSitemap(some_var)``). 70 70 71 .. _URLconf: http://www.djangoproject.com/documentation/url_dispatch/71 .. _URLconf: ../url_dispatch/ 72 72 73 73 Sitemap classes … … 218 218 attribute -- not ``lastmod``, ``changefreq`` or ``priority``. 219 219 220 .. _flatpages: http://www.djangoproject.com/documentation/flatpages/221 .. _sites documentation: http://www.djangoproject.com/documentation/sites/220 .. _flatpages: ../flatpages/ 221 .. _sites documentation: ../sites/ 222 222 223 223 ``GenericSitemap`` … … 233 233 constructor to specify these attributes for all URLs. 234 234 235 .. _generic views: http://www.djangoproject.com/documentation/generic_views/235 .. _generic views: ../generic_views/ 236 236 237 237 Example … … 262 262 ) 263 263 264 .. _URLconf: http://www.djangoproject.com/documentation/url_dispatch/264 .. _URLconf: ../url_dispatch/ 265 265 266 266 Creating a sitemap index django/trunk/docs/sites.txt
r3686 r4420 277 277 ``CurrentSiteManager``. 278 278 279 .. _manager: http://www.djangoproject.com/documentation/model_api/#managers280 .. _manager documentation: http://www.djangoproject.com/documentation/model_api/#managers279 .. _manager: ..
