Skip to content

aliounedia/django-urls

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-urls

Manage URL Patterns and Views via the Django admin.

Screenshots

django-urls screenshot

Requirements

  • Django 1.4.x.

Installation

  1. Install django-urls.

     pip install -e git+git://github.com/django-urls/django-urls.git#egg=django_urls
    
  2. Add django_urls to INSTALLED_APPS in settings.py.

     INSTALLED_APPS = (
         # ...
         'django_urls',
         # ...
     )
    
  3. Add django_urls to urls.py.

     from django_urls import django_urls
     urlpatterns += django_urls()
    

TODO / Pull Requests Wanted

  • make pip installable
  • make installation simple by adding app to INSTALLED_APPS, MIDDLEWARE_CLASSES, or similar
  • add "404 Not Found" destination
  • add exact match to permanent redirect 301
  • add exact match to temporary redirect 302
  • add regex match to permanent redirect 301
  • add regex match to temporary redirect 302
  • add regex match to include (e.g. add the ability to use a destination like include('django.contrib.admindocs.urls'))
  • add unit tests (relative redirect, absolute redirect, regex match, 404, etc.)
  • add Url.order as "Django runs through each URL pattern, in order, and stops at the first one that matches the requested URL."

About

Manage URL Patterns and Views via the Django admin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published