Skip to main content
Author:

Keryn Knight

Version:
0.1.1

Release

Status

stable (0.1.1)

travis_stable

master

travis_master

What it is

A small re-usable app for Django to output all the URLs used in a project, both via a view and a management command. Internally re-uses functionality of admindocs

Rationale

Ever come onto a project for the first time, or after a long period of time away from it, and can’t remember all the URLs being used? This is a quick and dirty way to find out what’s going on, if you’re not using admindocs (which I never do) …

Getting started

You’ll need to get the package onto your python path. For now, that’s something like:

pip install git+https://github.com/kezabelle/django-unfurl.git#egg=django-unfurl

You’ll also need to ensure it’s part of your INSTALLED_APPS:

INSTALLED_APPS += (
  'unfurl',
)

Setting up the view

Then, in your root URLCONF (usually projectname/urls.py), add:

urlpatterns = [
  # ...
  url(r'^urls/', include('unfurl.urls')),
  # ...
]

Using the management command

Simply call python manage.py urls_list to have a list of all URLs output to your console. If possible, it will output them in the less pager, unless you’re redirecting output (ie: python manage.py urls_list > all_urls.txt

Tests

There aren’t many. This was just an experiment which I’ve refined a touch. Trust it or don’t.

The license

It’s the FreeBSD. There’s should be a LICENSE file in the root of the repository, and in any archives.


Copyright (c) 2017, Keryn Knight All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Change history for django-unfurl

0.1.1

  • Initial release

Metadata

Release files for django-unfurl 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-unfurl 0.1.1
File Size Uploaded
django-unfurl-0.1.1.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-unfurl 0.1.1
File Interpreter ABI Platform
django_unfurl-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 23.5 kB

Release files / django-unfurl-0.1.1.tar.gz

Download URL django-unfurl-0.1.1.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4d92eec6e70eaac0e7774e3f9710dece1ce3ea9f1777a0757e94f7650f60e305
BLAKE2b-256 checksum
How to use checksums
b1270ce338bcb7fe4ea517af46f36e2aa16232cc06535f80a37b837b3ae109a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_unfurl-0.1.1-py2.py3-none-any.whl

Download URL django_unfurl-0.1.1-py2.py3-none-any.whl
Size 13.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a844da4d45c9abd10379eb1e805de8b820a9ce483b2f2e87f5517d06d3c035d3
BLAKE2b-256 checksum
How to use checksums
dfcbc2d255b7a90f5645ad797f117b05e0835c350d3b7de53933661068fcbdbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page