Django

Code

Changeset 6064

Show
Ignore:
Timestamp:
09/07/07 15:51:17 (1 year ago)
Author:
jacob
Message:

[django-website] Added registration to djangoproject.com, and added some svn:externals along the way to make the site a bit easier to move.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • djangoproject.com

    • Property svn:externals set to
      django -r6063 http://code.djangoproject.com/svn/django/trunk/django/
      registration -r87 http://django-registration.googlecode.com/svn/trunk/registration/
  • djangoproject.com/django_website/settings.py

    r6060 r6064  
    1313    DEBUG = True 
    1414    PREPEND_WWW = False 
    15     DATABASE_ENGINE = "sqlite3" 
    16     DATABASE_NAME = "/tmp/djangoproject.db" 
     15    DATABASE_ENGINE = 'postgresql_psycopg2' 
     16    DATABASE_NAME = 'djangoproject' 
    1717    CACHE_BACKEND = "file:///tmp/djangoprojectcache/" 
    1818    TEMPLATE_DIRS = [os.path.join(os.path.dirname(__file__), "templates")] 
     
    4040    'django.contrib.contenttypes', 
    4141    'django.contrib.flatpages', 
     42    'django.contrib.humanize', 
    4243    'django.contrib.redirects', 
    4344    'django.contrib.sessions', 
     
    4647    'django_website.apps.docs', 
    4748    'django_website.apps.aggregator', 
     49    'registration', 
    4850) 
    4951ADMIN_MEDIA_PREFIX = 'http://media.djangoproject.com/admin/' 
     
    7274USE_I18N = False 
    7375 
     76# django-registration settings 
     77ACCOUNT_ACTIVATION_DAYS = 3 
  • djangoproject.com/django_website/urls.py

    r4789 r6064  
    3131 
    3232urlpatterns = patterns('', 
    33     (r'^weblog/', include('django_website.apps.blog.urls')), 
    34     (r'^documentation/', include('django_website.apps.docs.urls')), 
     33    (r'^accounts/', include('django_website.apps.accounts.urls')), 
     34    (r'^admin/', include('django.contrib.admin.urls')), 
    3535    (r'^comments/$', 'django.views.generic.list_detail.object_list', comments_info_dict), 
    3636    (r'^comments/', include('django.contrib.comments.urls.comments')), 
    3737    (r'^community/$', 'django.views.generic.list_detail.object_list', aggregator_info_dict), 
    38     (r'^rss/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}), 
     38    (r'^documentation/', include('django_website.apps.docs.urls')), 
    3939    (r'^password_reset/', include('django.conf.urls.admin_password_reset')), 
    4040    (r'^r/', include('django.conf.urls.shortcut')), 
     41    (r'^rss/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}), 
    4142    (r'^sitemap.xml$', cache_page(sitemap_views.sitemap, 60 * 60 * 6), {'sitemaps': sitemaps}), 
    42     (r'^admin/', include('django.contrib.admin.urls')), 
     43    (r'^weblog/', include('django_website.apps.blog.urls')), 
    4344    (r'', include('django.contrib.flatpages.urls')), 
    4445)