Django

Code

Changeset 1334

Show
Ignore:
Timestamp:
11/21/05 08:46:05 (3 years ago)
Author:
jacob
Message:

Template changes to djangoproject website related to [1333]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • djangoproject.com/django_website/templates/base_community.html

    r482 r1334  
    99{% block content-related %} 
    1010 
    11 <h2>Get involed</h2> 
     11<h2>Get involved</h2> 
    1212 
    1313<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> 
     14<li><strong>Do you write about Django?</strong> <a href="mailto:jacob@jacobian.org">Let us know</a>, and we'll add your feed to this page.</li> 
     15<li><strong>Is your site or project powered by Django?</strong> Display one of <a href="/community/badges/">these handy badges</a> to show your support. And add your site to the <a href="http://code.djangoproject.com/wiki/DjangoPoweredSites">list of Django-powered sites</a>.</li> 
     16<li><strong>If you'd like to contribute to Django</strong>, join the <a href="http://groups.google.com/group/django-developers">django-developers mailing list</a>.</li> 
     17<li><strong>Follow code and ticket changes</strong> by subscribing to the <a href="http://groups.google.com/group/django-updates">django-updates mailing list</a>.</li> 
     18<li><strong><a href="http://code.djangoproject.com/newticket">Report bugs and make feature requests</a></strong> in our ticket system.</li> 
     19<li><strong>Contribute documentation</strong> to <a href="http://code.djangoproject.com/wiki">the wiki</a>.</li> 
     20<li><strong>Feel free to post comments</strong> throughout this site, to augment our documentation. We review comments frequently and integrate them into the official docs. <a href="/comments/">View recent comments</a>.</li> 
    1921</ul> 
    2022 
     
    2224 
    2325<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> 
     26<li><strong><a href="/documentation/faq/">Check our FAQ</a> first</strong>. 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> 
     27<li><strong>Chat live with other Django users</strong> in the <a href="irc://irc.freenode.net/django">#django IRC channel on irc.freenode.net</a>.</li> 
     28<!--<li>Read the <a href="http://loglibrary.com/show_page/latest/179">IRC channel logs</a>.</li>--
     29<li><strong>Ask questions</strong> on the <a href="http://groups-beta.google.com/group/django-users">django-users mailing list</a>.</li> 
    2830</ul> 
    2931 
  • djangoproject.com/django_website/templates/base_docs.html

    r189 r1334  
    66 
    77{% block billboard %}<h2><a href="/documentation/">Django documentation</a></h2>{% endblock %} 
     8 
  • djangoproject.com/django_website/templates/base_download.html

    r189 r1334  
    1 {% extends "base" %} 
     1{% extends "base_2col" %} 
    22 
    33{% block sectionid %}download{% endblock %} 
  • djangoproject.com/django_website/templates/base.html

    r248 r1334  
    1616                <meta name="description" content="Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design." /> 
    1717 
    18                 <link href="http://media.djangoproject.com/css/base.css" rel="stylesheet" type="text/css" media="screen" /> 
     18                <link href="http://media.djangoproject.com/css/{% block cssid %}base{% endblock %}.css" rel="stylesheet" type="text/css" media="screen" /> 
    1919                <link href="http://media.djangoproject.com/css/print.css" rel="stylesheet" type="text/css" media="print" /> 
    2020      {% block extrahead %}{% endblock %} 
     
    4747                <!-- END #content --> 
    4848                <div id="footer"> 
    49                         <p>This site's design and contents Copyright &copy; 2005 Lawrence Journal-World unless otherwise noted.</p> 
     49                        <p>&copy; 2005 <a href="http://www.ljworld.com/">Lawrence Journal-World</a> unless otherwise noted. Django is a registered trademark of Lawrence Journal-World.</p> 
    5050                </div> 
    5151        </div> 
  • djangoproject.com/django_website/templates/base_weblog.html

    r370 r1334  
    1414<h2>Archives</h2> 
    1515<ul class="linklist"> 
    16 <li><a href="/weblog/2005/jul/">July 2005</a></li> 
     16    <li><a href="/weblog/2005/nov/">November 2005</a></li> 
     17        <li><a href="/weblog/2005/oct/">October 2005</a></li> 
     18        <li><a href="/weblog/2005/sep/">September 2005</a></li> 
     19        <li><a href="/weblog/2005/aug/">August 2005</a></li> 
     20        <li><a href="/weblog/2005/jul/">July 2005</a></li> 
    1721</ul> 
    1822 
    1923<h2>RSS feeds</h2> 
    2024<ul class="linklist"> 
    21 <li><a href="/rss/weblog/">Latest weblog entries</a></li> 
    22 <li><a href="/rss/comments/">Latest comments</a></li> 
    23 <li><a href="http://code.djangoproject.com/timeline?daysback=90&amp;max=50&amp;wiki=on&amp;ticket=on&amp;changeset=on&amp;milestone=on&amp;format=rss">Recent code changes</a></li> 
     25       <li><a href="/rss/weblog/">Latest weblog entries</a></li> 
     26       <li><a href="/rss/comments/">Latest comments</a></li> 
     27       <li><a href="http://code.djangoproject.com/timeline?daysback=90&amp;max=50&amp;wiki=on&amp;ticket=on&amp;changeset=on&amp;milestone=on&amp;format=rss">Recent code changes</a></li> 
    2428</ul> 
    2529{% endblock %} 
  • djangoproject.com/django_website/templates/docs/documents_detail.html

    r189 r1334  
    2121<h2>Post a comment</h2> 
    2222 
    23 <p class="small quiet"><strong>Note:</strong> comments will be periodically reviewed, integrated 
    24 into the documentation proper, and removed.</p> 
     23<p class="small quiet"><strong>Note:</strong> Please only use the comments for 
     24questions/critcisms/suggestions on the docs; if you experience errors please <a 
     25href="http://code.djangoproject.com/newticket">file a ticket</a>, ask in the IRC 
     26channel, or post to the <a href="http://groups-beta.google.com/group/django-users"> 
     27django-users list</a>. Comments will be periodically reviewed, integrated into 
     28the documentation proper, and removed.</p> 
    2529 
    2630{% free_comment_form for docs.documents object.id %} 
  • djangoproject.com/django_website/templates/flatfiles/docs.html

    r362 r1334  
    1212<ul class="toc"> 
    1313    <li><a href="irc://irc.freenode.net/django">#django IRC channel</a></li> 
    14     <li><a href="http://loglibrary.com/show_page/latest/179">#django IRC logs</a></li> 
     14    <li><a href="http://simon.bofh.ms/logger/django/">#django IRC logs</a></li> 
    1515    <li><a href="http://groups-beta.google.com/group/django-users">Django-users mailing list</a></li> 
    1616    <li><a href="http://groups-beta.google.com/group/django-developers">Django-developers mailing list</a></li> 
  • djangoproject.com/django_website/templates/flatfiles/download.html

    r189 r1334  
    66{{ flatfile.content }} 
    77{% endblock %} 
     8 
     9{% block content-related %} 
     10<h2>For the impatient:</h2> 
     11<ul> 
     12  <li>Download the latest release: <a href="http://www.djangoproject.com/download/0.90/tarball/">Django-0.90.tar.gz</a>.</li> 
     13  <li>Download the latest release as an egg: <a href="http://www.djangoproject.com/download/0.90/egg/">Django-0.90-py2.4.egg</a>.</li> 
     14</ul> 
     15 
     16<h2>Which version is better?</h2> 
     17<p>We (<a href="http://code.djangoproject.com/wiki/WorldOnline">World Online</a>, Django developers) improve Django every day and are pretty good about not checking in broken code. We use the development code directly on our servers, so we consider it stable. With that in mind, we <strong>recommend that you use the latest development code</strong>, because it generally contains more features and fewer bugs than the "official" releases.</p> 
     18{% endblock %} 
  • djangoproject.com/django_website/templates/flatfiles/homepage.html

    r338 r1334  
    88<h1>Meet Django</h1> 
    99<h2 class="deck">Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.</h2> 
    10 <p>Developed and used over the past two years by a newspaper Web operation, Django is well-suited for developing content-management systems. It was designed from scratch to handle the intensive deadlines of a newsroom and the stringent requirements of experienced Web developers. It focuses on automating as much as possible and adhering to the <a href="http://c2.com/cgi/wiki?DontRepeatYourself"><abbr title="Don't Repeat Yourself">DRY</abbr> principle</a>.</p> 
     10<p>Developed and used over the past two years by a fast-moving online-news operation, Django was designed from scratch to handle two challenges: the intensive deadlines of a newsroom and the stringent requirements of experienced Web developers. It has convenient niceties for developing content-management systems, but it's an excellent tool for building any Web site.</p> 
     11<p>Django focuses on automating as much as possible and adhering to the <a href="http://c2.com/cgi/wiki?DontRepeatYourself"><abbr title="Don't Repeat Yourself">DRY</abbr> principle</a>.</p> 
    1112<p>Dive in by <a href="/documentation/overview/">reading the overview &rarr;</a></p> 
    1213<p>When you're ready to code, read the <a href="/documentation/install/">installation guide</a> and <a href="/documentation/tutorial1/">tutorial</a>.</p> 
     
    2021        <p>Use Django's powerful and extensible <a href="http://www.djangoproject.com/documentation/templates/">template language</a> to separate design, content and Python code.</p> 
    2122        <h3>Cache system</h3> 
    22         <p>Hook into memcached or other cache frameworks for <a href="http://www.djangoproject.com/documentation/cache/">super caching</a> &mdash; as granularly as you need.</p> 
     23        <p>Hook into memcached or other cache frameworks for <a href="http://www.djangoproject.com/documentation/cache/">super caching</a> &mdash; it's as granular as you need.</p> 
    2324        <h3>Automatic admin interface</h3> 
    2425        <p>Save yourself the tedious work of creating interfaces for people to add and update content. <a href="http://www.djangoproject.com/documentation/admin_css/">Django does that automatically</a>.</p> 
     
    3132<h2>Download</h2> 
    3233<ul class="linklist"> 
    33     <li><a href="/download/">Get current development version</a></li> 
     34    <li><a href="/download/">Get current version: 0.90</a></li> 
    3435</ul> 
    3536<h2>Documentation</h2> 
    3637<ul class="linklist"> 
     38        <li><a href="/documentation/install/">Installation guide</a></li> 
    3739        <li><a href="/documentation/tutorial1/">Tutorial</a></li> 
    38         <li><a href="/documentation/templates/">Template language guide</a></li> 
    39         <li><a href="/documentation/#reference">API reference</a></li> 
     40        <li><a href="/documentation/">More...</a></li> 
    4041</ul> 
    4142<h2>Sites that use Django</h2> 
     
    6162{% load comments %} 
    6263{% load latestblogentry %} 
    63 {% get_latest_blog_entries 3 as latest_entries %} 
     64{% get_latest_blog_entries 4 as latest_entries %} 
    6465 
    6566{% for latest_entry in latest_entries %} 
    6667    {% get_free_comment_count for blog.entries latest_entry.id as comment_count %} 
    6768    <h3><a href="{{ latest_entry.get_absolute_url }}">{{ latest_entry.headline }}</a></h3> 
    68     <p class="date">by <strong>{{ latest_entry.author }}</strong> on {{ latest_entry.pub_date|date:"F j, Y" }}</p> 
     69    <p class="date">by <strong>{{ latest_entry.author }}</strong> on {{ latest_entry.pub_date|date:"M. j, Y" }}</p> 
    6970    {{ latest_entry.summary }} 
    70     <p class="more"><a href="{{ latest_entry.get_absolute_url }}">Read more</a> / <a href="{{ latest_entry.get_absolute_url }}#comments">{{ comment_count }} comment{{ comment_count|pluralize }}</a></p> 
     71    <p class="more"><a href="{{ latest_entry.get_absolute_url }}">Read more</a>{% if comment_count %} / <a href="{{ latest_entry.get_absolute_url }}#comments">{{ comment_count }} comment{{ comment_count|pluralize }}</a>{% endif %}</p> 
    7172{% endfor %} 
    7273 
  • djangoproject.com/django_website/templates/trac_templates/attachment.cs

    r559 r1334  
    33<?cs include "macros.cs" ?> 
    44 
    5 <div id="ctxtnav" class="nav"></div> 
     5<div id="ctxtnav" class="nav"><ul><li class="last"><a href="?format=txt">View as plain text</a></li></ul></div> 
    66 
    77<div id="content" class="attachment">