Adds a mgmt command to print urls from your Django project
Project description
# django-showurls
[![Build status](https://travis-ci.org/Niklas9/django-showurls.svg?branch=master)](https://travis-ci.org/Niklas9/django-showurls)
[![Latest version](https://img.shields.io/pypi/v/django-showurls.svg?style=flat)](https://pypi.python.org/pypi/django-showurls/)
[![Downloads](https://img.shields.io/pypi/dm/django-showurls.svg?style=flat)](https://pypi.python.org/pypi/django-showurls/)
Adds a new management command that outputs all configured urls from your Django
project.
This is equivalent to Ruby on Rails command "rake routes", which I have found
quite useful lately.
## Usage
First you'll need to add the django_showurls app in your Django project's
settings.py file:
INSTALLED_APPS = (
..
'django_showurls',
..
)
After that you should be able to get an overview of all the urls in your project
by calling the showurls management command from your manage.py:
$ python manage.py showurls
^admin/
^$
^login/$
^logout/$
.. etc ..
## Installation
Install with pip (or easy_install)::
pip install django-showurls
## Todos
* should probably add some system tests that tests the actual command
(./manage.py showurls) on arbitrary Django projects
* look into if we can inspect what HTTP methods a specific url accepts (by
looking at the corresponding view?)
## License
BSD, just as the main Django project. See LICENSE file in root of this repo.
## Contributing
This project accepts contributions via GitHub pull requests.
* follow Google's Python style guide
https://google-styleguide.googlecode.com/svn/trunk/pyguide.html
* make commits of logical units, messages should include what changed and why
and be written in past tense
[![Build status](https://travis-ci.org/Niklas9/django-showurls.svg?branch=master)](https://travis-ci.org/Niklas9/django-showurls)
[![Latest version](https://img.shields.io/pypi/v/django-showurls.svg?style=flat)](https://pypi.python.org/pypi/django-showurls/)
[![Downloads](https://img.shields.io/pypi/dm/django-showurls.svg?style=flat)](https://pypi.python.org/pypi/django-showurls/)
Adds a new management command that outputs all configured urls from your Django
project.
This is equivalent to Ruby on Rails command "rake routes", which I have found
quite useful lately.
## Usage
First you'll need to add the django_showurls app in your Django project's
settings.py file:
INSTALLED_APPS = (
..
'django_showurls',
..
)
After that you should be able to get an overview of all the urls in your project
by calling the showurls management command from your manage.py:
$ python manage.py showurls
^admin/
^$
^login/$
^logout/$
.. etc ..
## Installation
Install with pip (or easy_install)::
pip install django-showurls
## Todos
* should probably add some system tests that tests the actual command
(./manage.py showurls) on arbitrary Django projects
* look into if we can inspect what HTTP methods a specific url accepts (by
looking at the corresponding view?)
## License
BSD, just as the main Django project. See LICENSE file in root of this repo.
## Contributing
This project accepts contributions via GitHub pull requests.
* follow Google's Python style guide
https://google-styleguide.googlecode.com/svn/trunk/pyguide.html
* make commits of logical units, messages should include what changed and why
and be written in past tense
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-showurls-1.0.1.tar.gz
(3.7 kB
view details)
File details
Details for the file django-showurls-1.0.1.tar.gz
.
File metadata
- Download URL: django-showurls-1.0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc70e5812411c04e4689ec91e9b33e3c9ab04071292c4519c77ceb32de3d941c |
|
MD5 | 3d29af60529f14341ce053d92b1193b2 |
|
BLAKE2b-256 | 6ef3473e174c46af4ec42c62938fe7556f6f7a0990245d46443fdea88d76c804 |