Your code is apparently in a project called "thumbslap":
>If you plan to use a database, edit the DATABASE_* settings in
>thumbslap/settings.py.
>Start your first app by running python thumbslap/manage.py startapp
>[appname].
But your settings file is ROOT_URL_CONF set to "mysite.urls". Is that
in fact the correct URLs file?
I would suggest jumping into the python interpreter and importing your
desired settings file, check the __file__/__path__ module attributes
and also do the same with your urls.py file just to make sure you
aren't loading something unexpected.
-Brian
On Feb 17, 2:52 am, Darthmahon <[EMAIL PROTECTED]> wrote:
> ======================================
> File: urls.py
> ======================================
> from django.conf.urls.defaults import *
> urlpatterns = patterns('',
> (r'^admin/', include('django.contrib.admin.urls')),
> (r'^$', 'mysite.views.index'),
> (r'^settings/', 'mysite.people.views.settings'),
> (r'^register/', 'mysite.people.views.register'),
> (r'^login/', 'mysite.views.login'),
> (r'^logout/', 'mysite.people.views.logout'),
> (r'^people/', include('mysite.people.urls')),
> (r'^friends/', 'mysite.people.views.friends'),
> )
> ======================================
> File: settings.py
> ======================================
> DEBUG = False
> TEMPLATE_DEBUG = DEBUG
> ADMINS = (
> )
> MANAGERS = ADMINS
> DATABASE_ENGINE = 'mysql'
> DATABASE_NAME = 'xxxx'
> DATABASE_USER = 'xxxx'
> DATABASE_PASSWORD = 'xxxx'
> DATABASE_HOST = 'xxxx'
> DATABASE_PORT = ''
> DATABASE_OPTIONS = {'read_default_file': '/etc/my.cnf',}
> TIME_ZONE = 'Europe/London'
> LANGUAGE_CODE = 'en-gb'
> SITE_ID = 1
> USE_I18N = True
> MEDIA_ROOT = '/home/mysite/static'
> MAX_PHOTO_UPLOAD_SIZE = 500000
> MAX_PHOTO_WIDTH = 500000
> MAX_PHOTO_WIDTH = 500000
> MEDIA_URL = 'http://static.mysite.com/'
> ADMIN_MEDIA_PREFIX = '/media/'
> SECRET_KEY = 'xxxx'
> TEMPLATE_LOADERS = (
> 'django.template.loaders.filesystem.load_template_source',
> 'django.template.loaders.app_directories.load_template_source',
> )
> AUTH_PROFILE_MODULE = "people.userprofile"
> TEMPLATE_CONTEXT_PROCESSORS = (
> 'django.core.context_processors.auth',
> 'django.core.context_processors.debug',
> 'django.core.context_processors.i18n',
> 'django.core.context_processors.request',
> 'mysite.context_processors.static_url',
> 'mysite.context_processors.user_profile',
> 'django.core.context_processors.request',
> )
> MIDDLEWARE_CLASSES = (
> 'django.middleware.common.CommonMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.middleware.doc.XViewMiddleware',
> )
> ROOT_URLCONF = 'mysite.urls'
> TEMPLATE_DIRS = (
> '/home/mysite/templates',
> )
> INSTALLED_APPS = (
> 'django.contrib.auth',
> 'django.contrib.humanize',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.sites',
> 'django.contrib.admin',
> 'mysite.people',
> )
>
> On Feb 16, 9:53 pm, Bret W <[EMAIL PROTECTED]> wrote:
>
> >
Could you post your urls.py and settings files?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---