Changeset - 7f5dcd5234b0
[Not reviewed]
default
0 1 0
Branko Majic (branko) - 11 years ago 2013-03-16 23:34:02
branko@majic.rs
Removed the Location detail view.
1 file changed with 1 insertions and 4 deletions:
0 comments (0 inline, 0 general)
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.
0 comments (0 inline, 0 general)