Hi Brian,
I know how to get into python but not sure the exact commands to
import settings.py? I tried "import settings" and it didn't come back
with an error.
How do I check the __file__/__path__ module attributes?
I am now running into a weird intermittent issue which is actually not
showing
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
==
File: urls.py
==
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^admin/', include('django.contrib.admin.urls')),
(r'^$', 'mysite.views.index'),
(r'^settings/',
==
File: urls.py
==
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^admin/', include('django.contrib.admin.urls')),
(r'^$', 'thumbslap.views.index'),
(r'^settings/',
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 django-users@googlegroups.com
To unsubscribe from this
Yea I've restarted it and "touched" the fcgi file so it's rather odd -
do you know of any good tutorials that are not written by the Django
team (read them, not too helpful and assume too much)?
On Feb 16, 9:05 pm, Bret W <[EMAIL PROTECTED]> wrote:
> Have you restarted the Web server? Perhaps
Have you restarted the Web server? Perhaps caching is playing a role
here.
The admin section should be working no problem, as long as the
settings and urls files are as described.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi Bret,
Yea I've done both of those things, ran syncdb as well.
It's very odd. For example I have a /static/ folder that just has all
of my css files, but even when I try to access that folder it shows
the Django Welcome screen. I wouldn't expect that to happen...
On Feb 16, 7:57 pm, Bret W
Have you edited your urls.py file?
You'll need to make sure the admin site is enabled by uncommenting
this line:
(r'^admin/', include('django.contrib.admin.urls')),
And you'll also need to make sure you have:
'django.contrib.admin',
in the INSTALLED_APPS section of your settings.py file. Make
Hi Guys,
In the final steps of my app and looking to deploy (yay!). I'm using a
dedicated server which has Apache 2 and is using FastCGI with
Lighttpd.
Django installed, the models are in, the mysql database is working but
I can't get past this welcome screen:
10 matches
Mail list logo