Changeset 7892
- Timestamp:
- 07/11/08 10:19:27 (1 month ago)
- Files:
-
- djangoproject.com/django_website/apps/aggregator/bin/update_feeds.py (modified) (3 diffs)
- djangoproject.com/django_website/apps/aggregator/models.py (modified) (1 diff)
- djangoproject.com/django_website/templates/base.html (modified) (1 diff)
- djangoproject.com/django_website/templates/base_weblog.html (modified) (1 diff)
- djangoproject.com/django_website/templates/docs/index.html (modified) (3 diffs)
- djangoproject.com/django_website/templates/flatpages/code.html (moved) (moved from djangoproject.com/django_website/templates/flatfiles/code.html)
- djangoproject.com/django_website/templates/flatpages/community.html (moved) (moved from djangoproject.com/django_website/templates/flatfiles/community.html)
- djangoproject.com/django_website/templates/flatpages/default.html (modified) (1 diff)
- djangoproject.com/django_website/templates/flatpages/docs.html (moved) (moved from djangoproject.com/django_website/templates/flatfiles/docs.html)
- djangoproject.com/django_website/templates/flatpages/download.html (moved) (moved from djangoproject.com/django_website/templates/flatfiles/download.html) (2 diffs)
- djangoproject.com/django_website/templates/flatpages/foundation.html (added)
- djangoproject.com/django_website/templates/flatpages/homepage.html (moved) (moved from djangoproject.com/django_website/templates/flatfiles/homepage.html)
- djangoproject.com/django_website/templates/flatpages/legacy_docs.html (moved) (moved from djangoproject.com/django_website/templates/flatfiles/legacy_docs.html)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
djangoproject.com/django_website/apps/aggregator/bin/update_feeds.py
r7296 r7892 5 5 6 6 import os 7 import sys 7 8 import time 8 9 import optparse 9 10 import datetime 10 11 import feedparser 12 13 LOCKFILE = "/tmp/update_feeds.lock" 11 14 12 15 def update_feeds(verbose=False): … … 52 55 53 56 if __name__ == '__main__': 57 try: 58 lockfile = os.open(LOCKFILE, os.O_CREAT | os.O_EXCL) 59 except OSError: 60 sys.exit(0) 61 54 62 parser = optparse.OptionParser() 55 63 parser.add_option('--settings') … … 59 67 os.environ["DJANGO_SETTINGS_MODULE"] = options.settings 60 68 update_feeds(options.verbose) 69 70 os.close(lockfile) 71 os.unlink(LOCKFILE) djangoproject.com/django_website/apps/aggregator/models.py
r7296 r7892 11 11 12 12 class Admin: 13 pass 13 list_display = ["title", "public_url", "is_defunct"] 14 list_filter = ["is_defunct"] 15 ordering = ["title"] 16 search_fields = ["title", "public_url"] 17 list_per_page = 500 14 18 15 19 def __unicode__(self): djangoproject.com/django_website/templates/base.html
r6757 r7892 47 47 <!-- END #content --> 48 48 <div id="footer"> 49 <p>© 2005-{% now "Y" %} <a href=" http://www.ljworld.com/">Lawrence Journal-World</a> unless otherwise noted. Django is a registered trademark of Lawrence Journal-World.49 <p>© 2005-{% now "Y" %} <a href="/foundation/">Django Software Foundation</a> unless otherwise noted. Django is a registered trademark of the Django Software Foundation. 50 50 Hosting graciously provided by <a href="http://mediatemple.net/"> 51 51 <img style="vertical-align: middle; position: relative; top: -1px;" src="http://media.djangoproject.com/img/site/mt.png" alt="media temple" /></a> djangoproject.com/django_website/templates/base_weblog.html
r7369 r7892 14 14 <h2>Archives</h2> 15 15 <ul class="linklist"> 16 <li><a href="/weblog/2008/apr/">April 2008</a></li> 17 <li><a href="/weblog/2008/mar/">March 2008</a></li> 18 <li><a href="/weblog/2008/feb/">Febuary 2008</a></li> 19 <li><a href="/weblog/2008/jan/">January 2008</a></li> 20 <li><a href="/weblog/2007/dec/">December 2007</a></li> 16 21 <li><a href="/weblog/2007/nov/">November 2007</a></li> 17 22 <li><a href="/weblog/2007/oct/">October 2007</a></li> djangoproject.com/django_website/templates/docs/index.html
r7703 r7892 19 19 <h2>The Django Book</h2> 20 20 21 <p> The Django Book is finished. You can read it for free at <a href="http://www.djangobook.com/">djangobook.com</a> or buy the print version. We recommend reading the first few chapters as your first introduction to Django.</p>21 <p>You can read the entire Django Book for free at <a href="http://www.djangobook.com/">djangobook.com</a> or buy a print version in finer bookstores. We recommend reading the first few chapters as your first introduction to Django.</p> 22 22 23 23 <h2>The essential documentation</h2> … … 49 49 50 50 <li><a href="newforms/">The newforms library</a> | <a href="forms/">The old forms and manipulators library</a></li> 51 <li><strong>New:</strong> <a href="testing/">Testing Django applications</a></li> 51 <li><strong>New:</strong> <a href="upload_handling/">File uploads</a></li> 52 <li><a href="testing/">Testing Django applications</a></li> 52 53 <li><a href="sessions/">Sessions</a></li> 53 54 <li><a href="cache/">Caching</a></li> … … 62 63 <li><strong>New:</strong> <a href="unicode/">Unicode data in Django</a></li> 63 64 <li><strong>New:</strong> <a href="pagination/">Pagination</a></li> 65 <li><strong>New:</strong> <a href="serialization/">Serialization</a></li> 64 66 65 67 <li><a href="add_ons/">The django.contrib add-ons</a> djangoproject.com/django_website/templates/flatpages/default.html
r3008 r7892 1 {% extends 'flatfiles/default.html' %} 1 {% extends "base.html" %} 2 3 {% block content %} 4 <h1>{{ flatpage.title }}</h1> 5 6 {{ flatpage.content }} 7 {% endblock %} djangoproject.com/django_website/templates/flatpages/download.html
r6757 r7892 10 10 <h2>For the impatient:</h2> 11 11 <ul> 12 <li>Download the latest release: <a href="http://www.djangoproject.com/download/0.96. 1/tarball/">Django-0.96.1.tar.gz</a>.</li>12 <li>Download the latest release: <a href="http://www.djangoproject.com/download/0.96.2/tarball/">Django-0.96.2.tar.gz</a>.</li> 13 13 </ul> 14 14 … … 19 19 <h2>Previous releases</h2> 20 20 <ul> 21 <li>Django 0.95. 2: <a href="http://www.djangoproject.com/download/0.95.2/tarball/">tarball</a></li>22 <li>Django 0.91. 1: <a href="http://www.djangoproject.com/download/0.91.1/tarball/">tarball</a></li>21 <li>Django 0.95.3: <a href="http://www.djangoproject.com/download/0.95.3/tarball/">tarball</a></li> 22 <li>Django 0.91.2: <a href="http://www.djangoproject.com/download/0.91.2/tarball/">tarball</a></li> 23 23 <li>Django 0.90: <a href="http://www.djangoproject.com/download/0.90/tarball/">tarball</a> | <a href="http://www.djangoproject.com/download/0.90/egg/">egg</a></li> 24 24 </ul>
