Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused view.

  • Loading branch information...
commit 3eb888f40cbf0faa767bbd2dfa40edadcd89295c 1 parent 52d674e
@justinabrahms justinabrahms authored
View
3  django_website/apps/aggregator/views.py
@@ -18,9 +18,6 @@ def feed_list(request, feed_type_slug):
items = FeedItem.objects.filter(feed__feed_type=feed_type)
return object_list(request, items)
-def feed_type_list(request):
- return object_list(request, FeedType.objects.all())
-
@login_required
def add_feed(request, feed_type_slug):
ft = get_object_or_404(FeedType, slug=feed_type_slug, can_self_add=True)
View
13 django_website/templates/aggregator/feedtype_list.html
@@ -1,13 +0,0 @@
-{% extends "base_community.html" %}
-
-{% block content %}
-<h1>Community</h1>
-<h2 class="deck">This page, updated every hour, aggregates what's going on in the community.</h2>
-
-<h3>Pick which list to add your feed to: <em><small>(only one)</small></em></h3>
-<ul>
- {% for item in object_list %}
- <li><a href="{% url community-add-feed item.slug %}">{{ item }}</a></li>
- {% endfor %}
-</ul>
-{% endblock %}
View
3  django_website/urls.py
@@ -40,9 +40,6 @@
url(r'^community/add/(?P<feed_type_slug>[-\w]+)/',
'django_website.apps.aggregator.views.add_feed',
name='community-add-feed'),
- url(r'^community/add/',
- 'django_website.apps.aggregator.views.feed_type_list',
- name="community-add-feed-list"),
url(r'^community/(?P<feed_type_slug>[-\w]+)/',
'django_website.apps.aggregator.views.feed_list',
name="community-feed-list"),
Please sign in to comment.
Something went wrong with that request. Please try again.