(sorry if this is a duplicate. My first post on this topic appears to be lost)
I'm new to django and django-cms. It's probably something stupid in my settings.py or urls.py (both are attached). I have a ubuntu precise pangolin box.
- django 1.3.1 was installed from the ubuntu repos. - worked through the django tutorials - django is ok! - downloaded and installed django-cms 2.3.3 - created my first page using "Template One" from the installation instructions. Used a single text plugin. Saved. - clicked "View on Site"
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.
> (sorry if this is a duplicate. My first post on this topic appears to be
> lost)
> I'm new to django and django-cms. It's probably something stupid in my
> settings.py or urls.py (both are attached). I have a ubuntu precise
> pangolin box.
> - django 1.3.1 was installed from the ubuntu repos.
> - worked through the django tutorials
> - django is ok!
> - downloaded and installed django-cms 2.3.3
> - created my first page using "Template One" from the installation
> instructions. Used a single text plugin. Saved.
> - clicked "View on Site"
> You're seeing this error because you have DEBUG = True in your Django
> settings file. Change that to False, and Django will display a standard
> 404 page.
> --
> You received this message because you are subscribed to the Google Groups
> "django-cms" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-cms/-/el8LCZGZCJUJ.
> To post to this group, send email to django-cms@googlegroups.com.
> To unsubscribe from this group, send email to
> django-cms+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-cms?hl=en.
On Friday, November 9, 2012 10:58:40 AM UTC-7, drew einhorn wrote: > On Friday, November 9, 2012 10:42:25 AM UTC-7, drew einhorn wrote:
>> On Friday, November 9, 2012 10:36:53 AM UTC-7, jenriquezdeceano wrote:
>>> show me your view
>>> Ok, I was being stupid, that's the problem. There is none. But, isn't >> the cms supposed create an initial one, for me to tweak?
> Hmm, the whole subdirectory where the the views are supposed to live is
missing.
If this were running on a production webserver I would suspect a permissions problem. The webserver isn't able to write to my development files, but I thought manage.py is running the webserver as me, and has write permission for my files.
Maybe there's something wrong with my workspace layout. I did adjust things to fit the hierarchy I set up while working through the plain django tutorials.