# HG changeset patch # User Branko Majic # Date 2013-03-16 23:34:02 # Node ID 7f5dcd5234b071ca7e50919b35dff979506f0aab # Parent df07ff9dfd8503ada24f4f98e2152e07a713dba3 Removed the Location detail view. diff --git a/conntrackt/urls.py b/conntrackt/urls.py --- a/conntrackt/urls.py +++ b/conntrackt/urls.py @@ -2,7 +2,7 @@ from django.conf.urls import patterns, url # For plain generic views -from conntrackt.models import Entity, Location +from conntrackt.models import Entity from django.views.generic import DetailView # Import some app-specific views. @@ -18,9 +18,6 @@ urlpatterns = patterns( # View for showing information about an entity. url(r'^entity/(?P\d+)/$', DetailView.as_view(model = Entity), name = 'entity'), - # View for showing information about a location. - url(r'^location/(?P\d+)/$', DetailView.as_view(model = Location), - name = 'location'), # View for rendering iptables rules for a specific entity. url(r'^entity/(?P\d+)/iptables/$', IptablesView.as_view(), name="entity_iptables"), # View for rendering zip file with iptables rules for all entities in a project.