Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove unused view.

  • Loading branch information...
commit 3eb888f40cbf0faa767bbd2dfa40edadcd89295c 1 parent 52d674e
Justin Abrahms authored September 09, 2010
3  django_website/apps/aggregator/views.py
@@ -18,9 +18,6 @@ def feed_list(request, feed_type_slug):
18 18
     items = FeedItem.objects.filter(feed__feed_type=feed_type)
19 19
     return object_list(request, items)
20 20
 
21  
-def feed_type_list(request):
22  
-    return object_list(request, FeedType.objects.all())
23  
-
24 21
 @login_required
25 22
 def add_feed(request, feed_type_slug):
26 23
     ft = get_object_or_404(FeedType, slug=feed_type_slug, can_self_add=True)
13  django_website/templates/aggregator/feedtype_list.html
... ...
@@ -1,13 +0,0 @@
1  
-{% extends "base_community.html" %}
2  
-
3  
-{% block content %}
4  
-<h1>Community</h1>
5  
-<h2 class="deck">This page, updated every hour, aggregates what's going on in the community.</h2>
6  
-
7  
-<h3>Pick which list to add your feed to: <em><small>(only one)</small></em></h3>
8  
-<ul>
9  
-  {% for item in object_list %}
10  
-  <li><a href="{% url community-add-feed item.slug %}">{{ item }}</a></li>
11  
-  {% endfor %}
12  
-</ul>
13  
-{% endblock %}
3  django_website/urls.py
@@ -40,9 +40,6 @@
40 40
     url(r'^community/add/(?P<feed_type_slug>[-\w]+)/',
41 41
          'django_website.apps.aggregator.views.add_feed',
42 42
           name='community-add-feed'),
43  
-    url(r'^community/add/',
44  
-         'django_website.apps.aggregator.views.feed_type_list',
45  
-          name="community-add-feed-list"),
46 43
     url(r'^community/(?P<feed_type_slug>[-\w]+)/',
47 44
          'django_website.apps.aggregator.views.feed_list',
48 45
           name="community-feed-list"),

0 notes on commit 3eb888f

Please sign in to comment.
Something went wrong with that request. Please try again.