# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1276748321 18000 # Node ID 448f907a9d7e73af3a7814ece5569847138e120b Initial Agora Octave commit diff -r 000000000000 -r 448f907a9d7e .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Wed Jun 16 23:18:41 2010 -0500 @@ -0,0 +1,3 @@ +syntax: glob +*.pyc +settings.py diff -r 000000000000 -r 448f907a9d7e __init__.py diff -r 000000000000 -r 448f907a9d7e dj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dj Wed Jun 16 23:18:41 2010 -0500 @@ -0,0 +1,1 @@ +manage.py \ No newline at end of file diff -r 000000000000 -r 448f907a9d7e manage.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/manage.py Wed Jun 16 23:18:41 2010 -0500 @@ -0,0 +1,11 @@ +#!/usr/bin/python +from django.core.management import execute_manager +try: + import settings # Assumed to be in the same directory. +except ImportError: + import sys + sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__) + sys.exit(1) + +if __name__ == "__main__": + execute_manager(settings) diff -r 000000000000 -r 448f907a9d7e urls.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/urls.py Wed Jun 16 23:18:41 2010 -0500 @@ -0,0 +1,17 @@ +from django.conf.urls.defaults import * + +# Uncomment the next two lines to enable the admin: +from django.contrib import admin +admin.autodiscover() + +urlpatterns = patterns('', + # Example: + # (r'^agora/', include('agora.foo.urls')), + + # Uncomment the admin/doc line below and add 'django.contrib.admindocs' + # to INSTALLED_APPS to enable admin documentation: + (r'^admin/doc/', include('django.contrib.admindocs.urls')), + + # Uncomment the next line to enable the admin: + (r'^admin/', include(admin.site.urls)), +)