File diff df07ff9dfd85 → 7f5dcd5234b0
conntrackt/urls.py
Show inline comments
 
@@ -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<pk>\d+)/$', DetailView.as_view(model = Entity),
 
        name = 'entity'),
 
    # View for showing information about a location.
 
    url(r'^location/(?P<pk>\d+)/$', DetailView.as_view(model = Location),
 
        name = 'location'),
 
    # View for rendering iptables rules for a specific entity.
 
    url(r'^entity/(?P<pk>\d+)/iptables/$', IptablesView.as_view(), name="entity_iptables"),
 
    # View for rendering zip file with iptables rules for all entities in a project.