Skip to content

Commit

Permalink
-Some more documentation finesse
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri-Gnidash committed Apr 24, 2011
1 parent 3d26ce9 commit 73e855d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Expand Up @@ -26,7 +26,7 @@ Installation
to use the management command)

2. Make sure to set the name of the file that will be generated in django_js_utils/settings.py.
Default::
Default:
# Where to put the Javascript URL Routing file
URLS_JS_GENERATED_FILE='static/js/dutils.conf.urls.js'

Expand All @@ -35,12 +35,12 @@ Default::

Usage
*****
1. To generate a list of all available urls in the special format::
1. To generate a list of all available urls in the special format:
>>> python manage.js js_urls

To keep the list of urls up-to-date, it is recommended to include this command as part of the build process.

2. On the web page, reverse url as such::
2. On the web page, reverse url as such:
>>> $.post(dutils.urls.resolve('time_edit', { project_id: 1, time_id: 2 }), ...


Expand Down

0 comments on commit 73e855d

Please sign in to comment.