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.0.tar.gz
(3.6 kB
view details)
File details
Details for the file django-showurls-1.0.0.tar.gz
.
File metadata
- Download URL: django-showurls-1.0.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b44a88202005edfcb4e1c8944a6dd6e4e6fb6f556f504bd003a29880e38a826 |
|
MD5 | 2c75d2e8f3d622a469f1f168bbbcdafd |
|
BLAKE2b-256 | 5b1f6b6b0eabb5fd5d0821a5d09ed2afdcd0f49e8d4308a4126b38c845f887f1 |