Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

Project details


Release history Release notifications

This version
History Node

1.0.1

History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-showurls-1.0.1.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None Feb 20, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page