Django

Code

Changeset 419

Show
Ignore:
Timestamp:
08/06/05 18:10:10 (3 years ago)
Author:
jacob
Message:

Added aggregator for Django feeds at /community

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • djangoproject.com/django_website/settings/main.py

    r374 r419  
    2424    'django_website.apps.blog', 
    2525    'django_website.apps.docs', 
     26    'django_website.apps.aggregator', 
    2627) 
    2728MEDIA_ROOT = "/home/html/djangoproject.com/m/" 
  • djangoproject.com/django_website/settings/urls/main.py

    r361 r419  
    11from django.conf.urls.defaults import * 
    22 
    3 info_dict = { 
     3comments_info_dict = { 
    44    'app_label': 'comments', 
    55    'module_name': 'freecomments', 
     
    77} 
    88 
     9aggregator_info_dict = { 
     10    'app_label' : 'aggregator', 
     11    'module_name' : 'feeditems', 
     12    'paginate_by' : 15, 
     13    'extra_lookup_kwargs': {'select_related' : True}, 
     14} 
     15 
    916urlpatterns = patterns('', 
    1017    (r'^weblog/', include('django_website.apps.blog.urls.blog')), 
    1118    (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), 
    1320    (r'^comments/', include('django.contrib.comments.urls.comments')), 
     21    (r'^community/$', 'django.views.generic.list_detail.object_list', aggregator_info_dict), 
    1422    (r'^rss/', include('django.conf.urls.rss')), 
    1523    (r'', include('django.conf.urls.flatfiles')), 
  • djangoproject.com/django_website/templates/base_community.html

    r189 r419  
    1 {% extends "base" %} 
     1{% extends "base_2col" %} 
    22 
    33{% block sectionid %}community{% endblock %} 
     
    66 
    77{% 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 %}