Commits

Anonymous committed f4d365c

Updated history.

Comments (0)

Files changed (5)

docs/.build/html/history.html

   <div class="section">
 <h1 id="changelog">Changelog<a class="headerlink" href="#changelog" title="Permalink to this headline">¶</a></h1>
 <dl class="docutils">
+<dt>Repository:</dt>
+<dd><ul class="first last simple">
+<li>Changed chlocale tag to strip prefix of locale-independent paths.</li>
+<li>Moved the monkey-patching of urlresolvers.reverse to models.py.</li>
+</ul>
+</dd>
 <dt>2009-01-19:</dt>
 <dd><ul class="first last simple">
 <li>Added rudimental support for getting the locale from the domain name.</li>

docs/.build/html/installation.html

 </div>
 <div class="section">
 <h2 id="id1">Installation<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
-<p>Installation basically consists of installing the middleware. If you want to use the template tags and filters also add localeurl to the installed applications.</p>
+<p>Installation basically consists of installing the middleware. If you want to
+use the template tags and filters also add localeurl to the installed
+applications.</p>
 <ol class="arabic simple">
-<li>Place the <tt class="docutils literal"><span class="pre">localeurl</span></tt> module in your Python path. You can put it into your Django project directory or run <tt class="docutils literal"><span class="pre">python</span> <span class="pre">setup.py</span> <span class="pre">install</span></tt> from a shell.</li>
-<li>Add <tt class="docutils literal"><span class="pre">'localeurl.middleware.LocaleURLMiddleware'</span></tt> to <tt class="docutils literal"><span class="pre">settings.MIDDLEWARE_CLASSES</span></tt>. It must come <em>before</em> <tt class="docutils literal"><span class="pre">'django.middleware.common.CommonMiddleware'</span></tt> or <tt class="docutils literal"><span class="pre">settings.APPEND_SLASH</span></tt> will not work.</li>
+<li>Place the <tt class="docutils literal"><span class="pre">localeurl</span></tt> module in your Python path. You can put it into your
+Django project directory or run <tt class="docutils literal"><span class="pre">python</span> <span class="pre">setup.py</span> <span class="pre">install</span></tt> from a shell.</li>
+<li>Add <tt class="docutils literal"><span class="pre">'localeurl.middleware.LocaleURLMiddleware'</span></tt> to
+<tt class="docutils literal"><span class="pre">settings.MIDDLEWARE_CLASSES</span></tt>. It must come <em>before</em>
+<tt class="docutils literal"><span class="pre">'django.middleware.common.CommonMiddleware'</span></tt> or <tt class="docutils literal"><span class="pre">settings.APPEND_SLASH</span></tt>
+will not work.</li>
 <li>Add <tt class="docutils literal"><span class="pre">'localeurl'</span></tt> to <tt class="docutils literal"><span class="pre">settings.INSTALLED_APPS</span></tt>.</li>
-<li>Make sure <tt class="docutils literal"><span class="pre">settings.LANGUAGE_CODE</span></tt> or its root language is in <tt class="docutils literal"><span class="pre">settings.LANGUAGES</span></tt>. For example, if <tt class="docutils literal"><span class="pre">LANGUAGE_CODE</span> <span class="pre">==</span> <span class="pre">'en-us'</span></tt> then <tt class="docutils literal"><span class="pre">LANGUAGES</span></tt> must contain either <tt class="docutils literal"><span class="pre">'en-us'</span></tt> or <tt class="docutils literal"><span class="pre">'en'</span></tt>. If you have not changed either option you do not have to do anything.</li>
+<li>Make sure <tt class="docutils literal"><span class="pre">settings.LANGUAGE_CODE</span></tt> or its root language is in
+<tt class="docutils literal"><span class="pre">settings.LANGUAGES</span></tt>. For example, if <tt class="docutils literal"><span class="pre">LANGUAGE_CODE</span> <span class="pre">==</span> <span class="pre">'en-us'</span></tt> then
+<tt class="docutils literal"><span class="pre">LANGUAGES</span></tt> must contain either <tt class="docutils literal"><span class="pre">'en-us'</span></tt> or <tt class="docutils literal"><span class="pre">'en'</span></tt>. If you have not
+changed either option you do not have to do anything.</li>
 </ol>
 </div>
 <div class="section">
 <h2 id="id2"><span id="configuration"></span>Configuration<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
-<p>The application can be configured by editing the project&#8217;s <tt class="docutils literal"><span class="pre">settings.py</span></tt> file.</p>
+<p>The application can be configured by editing the project&#8217;s <tt class="docutils literal"><span class="pre">settings.py</span></tt>
+file.</p>
 <dl class="docutils">
 <dt><tt class="docutils literal"><span class="pre">LOCALE_URL_TYPE</span></tt> (default: <tt class="docutils literal"><span class="pre">'path_prefix'</span></tt>)</dt>
 <dd><p class="first">Configures where localeurl expects to find the locale in the URL.</p>

docs/.build/html/searchindex.json

-[["usage","index","installation","history"],["Usage","Welcome to the localeurl documentation","Installation","Changelog"],{"all":[1],"code":[1,3],"thi":[0,2,3],"\u00feorbj\u00f6rnsson":[3],"prefix":[0,1,2],"localemiddlewar":[0],"go":[0],"follow":[0],"albrecht":[3],"tt":[0],"articl":[0],"0":[0,2,3],"under":[1],"sourc":[3],"everi":[1],"string":[2],"fals":[0],"dutch":[0],"context_processor":[0],"mechan":[],"fall":[3],"ticket":[1],"list":[3],"pleas":[0],"deutsch":[0],"pass":[2],"click":[0],"index":[1],"section":[2],"3651":[1],"access":[],"version":[0,3],"casse":[3],"new":[0,3],"full":[2],"christian":[3],"gener":[0],"here":[0,3],"path":[0,1,2],"chlocal":[0,1],"search":[1],"mailinglist":[3],"reason":[1,2],"credit":[1,3],"behav":[0],"chang":[0,2],"joost":[3],"localeurl_tag":[0],"app":[],"releas":[3],"href":[0],"language_cod":[0,2],"txt":[1],"middlewar":[0,2,3],"andi":[3],"describ":[2],"would":[0,2],"to":[0,1,2,3],"two":[0],"websit":[1],"splash":[2],"taken":[3],"artiom":[3],"it":[0,1,2,3],"compani":[],"must":[2],"setup":[2],"work":[0,2,3],"uniqu":[1],"can":[0,1,2,3],"root":[2],"templat":[0,2],"tag":[0,1,2],"want":[1,2],"multipl":[1],"1":[0,2,3],"how":[2],"instead":[],"negoti":[3],"piotr":[3],"fr":[0],"express":[2],"after":[],"befor":[2],"such":[0],"core":[0],"welcom":[1],"a":[0,1,2,3],"django":[0,1,2,3],"maintain":[3],"so":[0],"allow":[0,1],"lambda":[0],"help":[0],"move":[3],"becaus":[1],"pano":[3],"26":[3],"20":[3],"majewski":[3],"li":[0],"therefor":[],"might":[1],"then":[0,1,2],"them":[0],"return":[0],"thei":[0],"python":[2],"malet":[3],"not":[0,1,2],"now":[3],"discuss":[3],"name":[3],"changelog":[1,3],"edit":[2],"revers":[0],"each":[1],"found":[3],"mean":[1],"compil":[2],"domain":[0,1,2,3],"en":[0,2],"laganako":[3],"replac":[0],"expect":[2],"localeurl":[0,1,2,3],"profil":[],"re":[2],"path_prefix":[2],"common":[2],"manipul":[0],"domain_prefix":[0,2],"standard":[0],"ajax":[2],"base":[0,3],"put":[2],"could":[],"filter":[0,1,2],"place":[2],"licens":[1],"urlconf":[0],"first":[1,2],"diomin":[3],"render":[0],"feel":[1],"independ":[0,2],"done":[1],"installed_app":[2],"differ":[0,1],"convent":[0],"top":[0],"2":[3],"urlresolv":[0],"shell":[2],"option":[2,3],"that":[0,1,2,3],"specifi":[0,1],"part":[2],"exactli":[0],"prefix_default_languag":[0,2,3],"11":[3],"10":[3],"13":[3],"16":[3],"19":[3],"remov":[0,3],"tree":[3],"project":[0,2],"and":[0,2,3],"argument":[0],"have":[0,1,2],"need":[0],"engin":[1],"locale_url_typ":[0,2],"also":[0,2,3],"exampl":[0,1,2],"take":[0],"mit":[1],"sure":[2],"distribut":[1],"normal":[],"previou":[0],"regular":[2],"path_info":[0],"alpha":[3],"class":[0],"url":[0,1,2,3],"request":[0,1],"yann":[3],"unchang":[2],"multilingu":[3],"show":[0],"german":[0],"find":[2],"redirect":[0,1,2],"onli":[2],"menu":[0],"configur":[0,1,2],"activ":[],"should":[0,1],"suppos":[1],"local":[0,2,3],"media_url":[2],"do":[0,2],"contribut":[3],"get":[1,3],"de":[0],"requir":[2],"enabl":[0],"whether":[2],"integr":[0],"contain":[2],"locale_independent_path":[2],"where":[2],"view":[0,1],"set":[0,1,2,3],"see":[0,1,3],"atli":[3],"02":[3],"01":[3],"06":[3],"07":[3],"08":[3],"09":[3],"discoveri":[0],"written":[],"restructur":[3],"import":[2],"wa":[3],"french":[0],"come":[2],"s":[0,2,3],"com":[1,2],"load":[0],"endifequ":[0],"inspir":[3],"addition":[2],"py":[2],"compon":[1,2],"basic":[2],"pk":[],"0rc1":[3],"with":[0,2],"ani":[0,1,2],"partli":[3],"case":[0],"redirect_locale_independent_path":[3],"these":[3],"will":[0,1,2],"behavior":[0],"locale_url":[0,1],"is":[0,1,2,3],"site":[2],"in":[0,1,2],"id":[0],"if":[0,1,2],"develop":[3],"commonmiddlewar":[2],"perform":[2],"make":[2],"same":[0],"9":[3],"document":[1,3],"higher":[2,3],"http":[1,2],"user":[0,3],"help_url":[0],"internationalis":[3],"off":[0],"i":[2],"rmlocal":[0,1],"without":[0,1],"endfor":[0],"english":[0],"the":[0,1,2,3],"usual":[0],"localeurlmiddlewar":[2,3],"yet":[0],"languag":[0,1,2,3],"note":[2],"except":[0],"blog":[3],"add":[0,1,2],"els":[0],"subsequ":[1],"modul":[0,2],"match":[2],"applic":[0,1,2],"transpar":[0],"fran\u00e7ai":[0],"game":[2],"template_context_processor":[0],"like":[0],"specif":[0],"anyth":[2],"resolv":[2],"either":[0,1,2],"page":[0,1,2],"www":[1],"some":[1],"back":[3],"intern":[3],"instal":[1,2],"for":[0,1,2,3],"select":[0,2],"refer":[0,3],"be":[0,1,2,3],"object":[2],"run":[2],"ifequ":[0],"usag":[0,1],"prerequisit":[1,2,3],"from":[0,2,3],"post":[1,3],"by":[0,2,3],"_":[0],"on":[0,3],"about":[0,1,2],"of":[0,1,2,3],"or":[0,1,2,3],"own":[1],"rudiment":[3],"into":[0,2,3],"automat":[],"append_slash":[2],"strip":[0],"announc":[3],"your":[0,2],"support":[3],"start":[2],"function":[0],"nederland":[0],"tupl":[2],"link":[0],"true":[2],"consist":[2],"default":[0,1,2,3],"pacman":[],"displai":[0],"us":[0,1,2],"featur":[3],"ad":[3],"creat":[3],"as":[0,2,3],"ar":[0],"exist":[0],"at":[0],"file":[0,1,2],"nl":[0,1],"googl":[3],"no":[0],"jona":[3],"you":[0,1,2],"middleware_class":[2],"lang":[0],"e":[2],"directori":[2],"influenc":[1],"u":[0],"2008":[3],"2009":[3]}]
+[["usage","index","installation","history"],["Usage","Welcome to the localeurl documentation","Installation","Changelog"],{"all":[1],"code":[1,3],"thi":[0,2,3],"\u00feorbj\u00f6rnsson":[3],"prefix":[0,1,2,3],"localemiddlewar":[0],"go":[0],"follow":[0],"albrecht":[3],"tt":[0],"articl":[0],"0":[0,2,3],"under":[1],"sourc":[3],"everi":[1],"string":[2],"fals":[0],"dutch":[0],"context_processor":[0],"mechan":[],"fall":[3],"ticket":[1],"list":[3],"pleas":[0],"deutsch":[0],"pass":[2],"click":[0],"index":[1],"section":[2],"find":[2],"access":[],"version":[0,3],"casse":[3],"new":[0,3],"full":[2],"christian":[3],"gener":[0],"here":[0,3],"path":[0,1,2,3],"chlocal":[0,1,3],"search":[1],"mailinglist":[3],"ajax":[2],"credit":[1,3],"behav":[0],"chang":[0,2,3],"joost":[3],"prerequisit":[1,2,3],"localeurl_tag":[0],"app":[],"put":[2],"href":[0],"language_cod":[0,2],"txt":[1],"select":[0,2],"andi":[3],"describ":[2],"would":[0,2],"to":[0,1,2,3],"two":[0],"websit":[1],"splash":[2],"taken":[3],"artiom":[3],"it":[0,1,2,3],"compani":[],"must":[2],"setup":[2],"work":[0,2,3],"uniqu":[1],"can":[0,1,2,3],"root":[2],"templat":[0,2],"tag":[0,1,2,3],"want":[1,2],"multipl":[1],"1":[0,2,3],"how":[2],"instead":[],"negoti":[3],"if":[0,1,2],"fr":[0],"de":[0],"after":[],"befor":[2],"such":[0],"core":[0],"commonmiddlewar":[2],"a":[0,1,2,3],"django":[0,1,2,3],"maintain":[3],"so":[0],"allow":[0,1],"first":[1,2],"help":[0],"move":[3],"becaus":[1],"pano":[3],"26":[3],"20":[3],"majewski":[3],"li":[0],"therefor":[],"might":[1],"then":[0,1,2],"them":[0],"return":[0],"thei":[0],"python":[2],"malet":[3],"not":[0,1,2],"now":[3],"discuss":[3],"name":[3],"changelog":[1,3],"edit":[2],"revers":[0,3],"each":[1],"found":[3],"mean":[1],"compil":[2],"domain":[0,1,2,3],"en":[0,2],"laganako":[3],"replac":[0],"expect":[2],"localeurl":[0,1,2,3],"profil":[],"re":[2],"path_prefix":[2],"integr":[0],"model":[3],"manipul":[0],"domain_prefix":[0,2],"standard":[0],"reason":[1,2],"base":[0,3],"releas":[3],"could":[],"filter":[0,1,2],"place":[2],"licens":[1],"urlconf":[0],"lambda":[0],"diomin":[3],"render":[0],"feel":[1],"independ":[0,2,3],"done":[1],"installed_app":[2],"differ":[0,1],"convent":[0],"top":[0],"2":[3],"monkei":[3],"urlresolv":[0,3],"shell":[2],"option":[2,3],"that":[0,1,2,3],"specifi":[0,1],"part":[2],"exactli":[0],"prefix_default_languag":[0,2,3],"11":[3],"10":[3],"13":[3],"16":[3],"19":[3],"remov":[0,3],"tree":[3],"project":[0,2],"and":[0,2,3],"argument":[0],"have":[0,1,2],"need":[0],"engin":[1],"locale_url_typ":[0,2],"also":[0,2,3],"exampl":[0,1,2],"take":[0],"mit":[1],"sure":[2],"distribut":[1],"normal":[],"previou":[0],"regular":[2],"path_info":[0],"alpha":[3],"class":[0],"url":[0,1,2,3],"request":[0,1],"yann":[3],"unchang":[2],"multilingu":[3],"show":[0],"german":[0],"3651":[1],"redirect":[0,1,2],"onli":[2],"menu":[0],"configur":[0,1,2],"activ":[],"should":[0,1],"suppos":[1],"local":[0,2,3],"media_url":[2],"do":[0,2],"contribut":[3],"get":[1,3],"express":[2],"requir":[2],"enabl":[0],"patch":[3],"whether":[2],"common":[2],"contain":[2],"locale_independent_path":[2],"where":[2],"view":[0,1],"set":[0,1,2,3],"see":[0,1,3],"atli":[3],"02":[3],"01":[3],"06":[3],"07":[3],"08":[3],"09":[3],"discoveri":[0],"written":[],"restructur":[3],"import":[2],"wa":[3],"french":[0],"come":[2],"s":[0,2,3],"com":[1,2],"load":[0],"endifequ":[0],"inspir":[3],"addition":[2],"py":[2,3],"compon":[1,2],"basic":[2],"pk":[],"0rc1":[3],"with":[0,2],"ani":[0,1,2],"partli":[3],"case":[0],"redirect_locale_independent_path":[3],"these":[3],"will":[0,1,2],"behavior":[0],"locale_url":[0,1],"is":[0,1,2,3],"site":[2],"in":[0,1,2],"id":[0],"piotr":[3],"develop":[3],"welcom":[1],"perform":[2],"make":[2],"same":[0],"9":[3],"document":[1,3],"higher":[2,3],"http":[1,2],"user":[0,3],"help_url":[0],"internationalis":[3],"off":[0],"i":[2],"rmlocal":[0,1],"without":[0,1],"endfor":[0],"english":[0],"the":[0,1,2,3],"usual":[0],"localeurlmiddlewar":[2,3],"yet":[0],"languag":[0,1,2,3],"note":[2],"except":[0],"blog":[3],"add":[0,1,2],"els":[0],"subsequ":[1],"modul":[0,2],"match":[2],"applic":[0,1,2],"transpar":[0],"fran\u00e7ai":[0],"game":[2],"template_context_processor":[0],"like":[0],"specif":[0],"anyth":[2],"resolv":[2],"either":[0,1,2],"page":[0,1,2],"www":[1],"some":[1],"back":[3],"intern":[3],"instal":[1,2],"for":[0,1,2,3],"middlewar":[0,2,3],"refer":[0,3],"be":[0,1,2,3],"object":[2],"run":[2],"ifequ":[0],"usag":[0,1],"repositori":[3],"from":[0,2,3],"post":[1,3],"by":[0,2,3],"_":[0],"on":[0,3],"about":[0,1,2],"of":[0,1,2,3],"or":[0,1,2,3],"own":[1],"rudiment":[3],"into":[0,2,3],"automat":[],"append_slash":[2],"strip":[0,3],"announc":[3],"your":[0,2],"support":[3],"start":[2],"function":[0],"nederland":[0],"tupl":[2],"link":[0],"true":[2],"consist":[2],"default":[0,1,2,3],"pacman":[],"displai":[0],"us":[0,1,2],"featur":[3],"ad":[3],"creat":[3],"as":[0,2,3],"ar":[0],"exist":[0],"at":[0],"file":[0,1,2],"nl":[0,1],"googl":[3],"no":[0],"jona":[3],"you":[0,1,2],"middleware_class":[2],"lang":[0],"e":[2],"directori":[2],"influenc":[1],"u":[0],"2008":[3],"2009":[3]}]
 Changelog
 =========
 
+Repository:
+  * Changed chlocale tag to strip prefix of locale-independent paths.
+  * Moved the monkey-patching of urlresolvers.reverse to models.py.
+
 2009-01-19:
   * Added rudimental support for getting the locale from the domain name.
   * Removed ``REDIRECT_LOCALE_INDEPENDENT_PATHS`` settings option; this is now the default.

docs/installation.rst

 Installation
 ------------
 
-Installation basically consists of installing the middleware. If you want to use the template tags and filters also add localeurl to the installed applications.
+Installation basically consists of installing the middleware. If you want to
+use the template tags and filters also add localeurl to the installed
+applications.
 
-#. Place the ``localeurl`` module in your Python path. You can put it into your Django project directory or run ``python setup.py install`` from a shell.
+#. Place the ``localeurl`` module in your Python path. You can put it into your
+   Django project directory or run ``python setup.py install`` from a shell.
 
-#. Add ``'localeurl.middleware.LocaleURLMiddleware'`` to ``settings.MIDDLEWARE_CLASSES``. It must come *before* ``'django.middleware.common.CommonMiddleware'`` or ``settings.APPEND_SLASH`` will not work.
+#. Add ``'localeurl.middleware.LocaleURLMiddleware'`` to
+   ``settings.MIDDLEWARE_CLASSES``. It must come *before*
+   ``'django.middleware.common.CommonMiddleware'`` or ``settings.APPEND_SLASH``
+   will not work.
 
 #. Add ``'localeurl'`` to ``settings.INSTALLED_APPS``.
 
-#. Make sure ``settings.LANGUAGE_CODE`` or its root language is in ``settings.LANGUAGES``. For example, if ``LANGUAGE_CODE == 'en-us'`` then ``LANGUAGES`` must contain either ``'en-us'`` or ``'en'``. If you have not changed either option you do not have to do anything.
-
-.. _`the latest release`: http://code.google.com/p/django-localeurl/downloads/list/|release|
+#. Make sure ``settings.LANGUAGE_CODE`` or its root language is in
+   ``settings.LANGUAGES``. For example, if ``LANGUAGE_CODE == 'en-us'`` then
+   ``LANGUAGES`` must contain either ``'en-us'`` or ``'en'``. If you have not
+   changed either option you do not have to do anything.
 
 
 .. _configuration:
 Configuration
 -------------
 
-The application can be configured by editing the project's ``settings.py`` file.
+The application can be configured by editing the project's ``settings.py``
+file.
 
 ``LOCALE_URL_TYPE`` (default: ``'path_prefix'``)
   Configures where localeurl expects to find the locale in the URL.