Changeset 419
- Timestamp:
- 08/06/05 18:10:10 (3 years ago)
- Files:
-
- djangoproject.com/django_website/apps/aggregator (added)
- djangoproject.com/django_website/apps/aggregator/bin (added)
- djangoproject.com/django_website/apps/aggregator/bin/update_feeds.py (added)
- djangoproject.com/django_website/apps/aggregator/__init__.py (added)
- djangoproject.com/django_website/apps/aggregator/models (added)
- djangoproject.com/django_website/apps/aggregator/models/aggregator.py (added)
- djangoproject.com/django_website/apps/aggregator/models/__init__.py (added)
- djangoproject.com/django_website/apps/aggregator/views.py (added)
- djangoproject.com/django_website/settings/main.py (modified) (1 diff)
- djangoproject.com/django_website/settings/urls/main.py (modified) (2 diffs)
- djangoproject.com/django_website/templates/aggregator (added)
- djangoproject.com/django_website/templates/aggregator/feeditems_list.html (added)
- djangoproject.com/django_website/templates/base_community.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
djangoproject.com/django_website/settings/main.py
r374 r419 24 24 'django_website.apps.blog', 25 25 'django_website.apps.docs', 26 'django_website.apps.aggregator', 26 27 ) 27 28 MEDIA_ROOT = "/home/html/djangoproject.com/m/" djangoproject.com/django_website/settings/urls/main.py
r361 r419 1 1 from django.conf.urls.defaults import * 2 2 3 info_dict = {3 comments_info_dict = { 4 4 'app_label': 'comments', 5 5 'module_name': 'freecomments', … … 7 7 } 8 8 9 aggregator_info_dict = { 10 'app_label' : 'aggregator', 11 'module_name' : 'feeditems', 12 'paginate_by' : 15, 13 'extra_lookup_kwargs': {'select_related' : True}, 14 } 15 9 16 urlpatterns = patterns('', 10 17 (r'^weblog/', include('django_website.apps.blog.urls.blog')), 11 18 (r'^documentation/', include('django_website.apps.docs.urls.docs')), 12 (r'^comments/$', 'django.views.generic.list_detail.object_list', info_dict),19 (r'^comments/$', 'django.views.generic.list_detail.object_list', comments_info_dict), 13 20 (r'^comments/', include('django.contrib.comments.urls.comments')), 21 (r'^community/$', 'django.views.generic.list_detail.object_list', aggregator_info_dict), 14 22 (r'^rss/', include('django.conf.urls.rss')), 15 23 (r'', include('django.conf.urls.flatfiles')), djangoproject.com/django_website/templates/base_community.html
r189 r419 1 {% extends "base " %}1 {% extends "base_2col" %} 2 2 3 3 {% block sectionid %}community{% endblock %} … … 6 6 7 7 {% block billboard %}<h2>Community</h2>{% endblock %} 8 9 {% block content-related %} 10 11 <h2>Get involed</h2> 12 13 <ul> 14 <li>Do you write about Django? <a href="mailto:jacob@jacobian.org">Let us know</a> and we'll add your feed to this page.</li> 15 <li>If you'd like to contribute to Django, join the <a href="http://groups-beta.google.com/group/django-developers">django-developers mailing list</a></li> 16 <li><a href="http://code.djangoproject.com/newticket">Report bugs and make feature requests</a> in our ticket system.</li> 17 <li>Contribute documentation to <a href="http://code.djangoproject.com/wiki">the wiki</a></li> 18 <li>If you find bugs or documentation that isn't explained well enough, please post a comment to the appropriate page, and we'll fix things.</li> 19 </ul> 20 21 <h2>Get help</h2> 22 23 <ul> 24 <li><a href="/documentation/faq/">Check our FAQ</a> first. If you have a basic question that's not answered by the FAQ, <a href="http://code.djangoproject.com/newticket">file a ticket</a> to tell us you think it should be in there.</li> 25 <li><a href="irc://irc.freenode.net/django">#django IRC channel on irc.freenode.net</a></li> 26 <li>Read the <a href="http://loglibrary.com/show_page/latest/179">IRC channel logs</a></li> 27 <li>Ask questions on the<a href="http://groups-beta.google.com/group/django-users">django-users mailing list</a></li> 28 </ul> 29 30 {% endblock %}
