Django

Code

Ticket #4133: dashes.diff

File dashes.diff, 7.7 kB (added by Gary Wilson <gary.wilson@gmail.com>, 2 years ago)

changed db_api and model_api to db-api and model-api throughout documentation

  • docs/api_stability.txt

    old new  
    100100      
    101101.. _caching: ../cache/ 
    102102.. _custom template tags and libraries: ../templates_python/ 
    103 .. _database lookup: ../db_api/ 
     103.. _database lookup: ../db-api/ 
    104104.. _django-admin utility: ../django-admin/ 
    105105.. _fastcgi integration: ../fastcgi/ 
    106106.. _flatpages: ../flatpages/ 
    107107.. _generic views: ../generic_views/ 
    108108.. _internationalization: ../i18n/ 
    109109.. _legacy database integration: ../legacy_databases/ 
    110 .. _model definition: ../model_api/ 
     110.. _model definition: ../model-api/ 
    111111.. _mod_python integration: ../modpython/ 
    112112.. _redirects: ../redirects/ 
    113113.. _request/response objects: ../request_response/ 
  • docs/authentication.txt

    old new  
    144144      Raises ``django.contrib.auth.models.SiteProfileNotAvailable`` if the current site 
    145145      doesn't allow profiles. 
    146146 
    147 .. _Django model: ../model_api/ 
     147.. _Django model: ../model-api/ 
    148148.. _DEFAULT_FROM_EMAIL: ../settings/#default-from-email 
    149149 
    150150Manager functions 
     
    757757The only thing this does is create those extra permissions when you run 
    758758``syncdb``. 
    759759 
    760 .. _model Meta attribute: ../model_api/#meta-options 
     760.. _model Meta attribute: ../model-api/#meta-options 
    761761 
    762762API reference 
    763763------------- 
  • docs/db-api.txt

    old new  
    66database-abstraction API that lets you create, retrieve, update and delete 
    77objects. This document explains that API. 
    88 
    9 .. _`data models`: ../model_api/ 
     9.. _`data models`: ../model-api/ 
    1010 
    1111Throughout this reference, we'll refer to the following models, which comprise 
    1212a weblog application:: 
     
    8585unless you explicitly specify ``primary_key=True`` on a field. See the 
    8686`AutoField documentation`_.) 
    8787 
    88 .. _AutoField documentation: ../model_api/#autofield 
     88.. _AutoField documentation: ../model-api/#autofield 
    8989 
    9090Explicitly specifying auto-primary-key values 
    9191~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     
    18011801programming languages or database frameworks; there's nothing Django-specific 
    18021802about your database. 
    18031803 
    1804 .. _Executing custom SQL: ../model_api/#executing-custom-sql 
     1804.. _Executing custom SQL: ../model-api/#executing-custom-sql 
  • docs/faq.txt

    old new  
    512512As explained in the `SQL initial data file`_ documentation, this SQL file can 
    513513contain arbitrary SQL, so you can make any sorts of changes you need to make. 
    514514 
    515 .. _SQL initial data file: ../model_api/#providing-initial-sql-data 
     515.. _SQL initial data file: ../model-api/#providing-initial-sql-data 
    516516 
    517517Why is Django leaking memory? 
    518518----------------------------- 
  • docs/flatpages.txt

    old new  
    8484`django/contrib/flatpages/models.py`_. You can access flatpage objects via the 
    8585`Django database API`_. 
    8686 
    87 .. _Django model: ../model_api/ 
     87.. _Django model: ../model-api/ 
    8888.. _django/contrib/flatpages/models.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/flatpages/models.py 
    89 .. _Django database API: ../db_api/ 
     89.. _Django database API: ../db-api/ 
    9090 
    9191Flatpage templates 
    9292================== 
  • docs/forms.txt

    old new  
    691691    document for more details). 
    692692 
    693693.. _`generic views`: ../generic_views/ 
    694 .. _`models API`: ../model_api/ 
     694.. _`models API`: ../model-api/ 
    695695.. _settings: ../settings/ 
  • docs/generic_views.txt

    old new  
    7171``extra_context`` that is always fresh you need to wrap it in a function or 
    7272lambda that returns the QuerySet. 
    7373 
    74 .. _database API docs: ../db_api/ 
     74.. _database API docs: ../db-api/ 
    7575 
    7676"Simple" generic views 
    7777====================== 
  • docs/i18n.txt

    old new  
    175175            verbose_name = _('my thing') 
    176176            verbose_name_plural = _('mythings') 
    177177 
    178 .. _Django models: ../model_api/ 
     178.. _Django models: ../model-api/ 
    179179 
    180180Pluralization 
    181181~~~~~~~~~~~~~ 
  • docs/redirects.txt

    old new  
    6666`django/contrib/redirects/models.py`_. You can access redirect 
    6767objects via the `Django database API`_. 
    6868 
    69 .. _Django model: ../model_api/ 
     69.. _Django model: ../model-api/ 
    7070.. _django/contrib/redirects/models.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/redirects/models.py 
    71 .. _Django database API: ../db_api/ 
     71.. _Django database API: ../db-api/ 
  • docs/serialization.txt

    old new  
    2727(Actually, the second argument can be any iterator that yields Django objects, 
    2828but it'll almost always be a QuerySet). 
    2929 
    30 .. _QuerySet: ../db_api/#retrieving-objects 
     30.. _QuerySet: ../db-api/#retrieving-objects 
    3131 
    3232You can also use a serializer object directly:: 
    3333 
  • docs/settings.txt

    old new  
    874874The string to use as the ``User-Agent`` header when checking to see if URLs 
    875875exist (see the ``verify_exists`` option on URLField_). 
    876876 
    877 .. _URLField: ../model_api/#urlfield 
     877.. _URLField: ../model-api/#urlfield 
    878878 
    879879USE_ETAGS 
    880880--------- 
  • docs/sites.txt

    old new  
    276276ones), put ``objects = models.Manager()`` in your model, before you define 
    277277``CurrentSiteManager``. 
    278278 
    279 .. _manager: ../model_api/#managers 
    280 .. _manager documentation: ../model_api/#managers 
     279.. _manager: ../model-api/#managers 
     280.. _manager documentation: ../model-api/#managers 
    281281 
    282282How Django uses the sites framework 
    283283=================================== 
  • docs/syndication_feeds.txt

    old new  
    159159             {{ obj.description }} 
    160160 
    161161.. _chicagocrime.org: http://www.chicagocrime.org/ 
    162 .. _object-relational mapper: ../db_api/ 
     162.. _object-relational mapper: ../db-api/ 
    163163.. _Django templates: ../templates/ 
    164164 
    165165A complex example 
  • docs/tutorial01.txt

    old new  
    577577When you're comfortable with the API, read `part 2 of this tutorial`_ to get 
    578578Django's automatic admin working. 
    579579 
    580 .. _Database API reference: ../db_api/ 
     580.. _Database API reference: ../db-api/ 
    581581.. _part 2 of this tutorial: ../tutorial02/ 
  • docs/tutorial04.txt

    old new  
    219219    If you'd like to know more about how that works, The Django database API 
    220220    documentation `explains the lazy nature of QuerySet objects`_. 
    221221 
    222 .. _explains the lazy nature of QuerySet objects: ../db_api/#querysets-are-lazy 
     222.. _explains the lazy nature of QuerySet objects: ../db-api/#querysets-are-lazy 
    223223 
    224224In previous parts of the tutorial, the templates have been provided with a context 
    225225that contains the ``poll`` and ``latest_poll_list`` context variables. However,