Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Spacing issues and docs for requirements file.

  • Loading branch information...
commit edcb9cbf2eddf5e8ecf632277feba53992358949 1 parent 3eb888f
Justin Abrahms justinabrahms authored
2  django_website/apps/aggregator/admin.py
View
@@ -16,6 +16,6 @@
date_heirarchy = ['date_modified'],
)
-admin.site.register(FeedType,
+admin.site.register(FeedType,
prepopulated_fields = {'slug': ('name',)},
)
2  django_website/apps/aggregator/management/commands/update_feeds.py
View
@@ -28,7 +28,7 @@ def handle(self, *args, **kwargs):
sys.exit(1)
finally:
os.close(lockfile)
- os.unlink(self.LOCKFILE)
+ os.unlink(self.LOCKFILE)
def update_feeds(self, verbose=False):
from django_website.apps.aggregator.models import Feed, FeedItem
7 django_website/requirements.txt
View
@@ -1,10 +1,15 @@
+# You must install the following packages:
+
django-registration
akismet
feedparser
django
docutils
-# setuptools.dist has no attribue 'check_packages' ? -- update setuptools.
+# If you get the error "setuptools.dist has no attribue
+# 'check_packages'", update setuptools.
+
+# You also need django-contact-form which can be found at:
-e hg+http://bitbucket.org/ubernostrum/django-contact-form#egg=contact_form
# pysvn must be installed outside of easy_install as it requires
2  django_website/templates/aggregator/index.html
View
@@ -18,7 +18,7 @@ <h3 class="header">{{ feedtype.name }}</h3>
{% if feedtype.items and feedtype.can_self_add %}
or
{% endif %}
- {% if feedtype.can_self_add %}
+ {% if feedtype.can_self_add %}
<a href="{% url community-add-feed feedtype.slug %}">Add your feed</a>
{% endif %}</p>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.