Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
My first django-cms page results in 404
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
drew einhorn  
View profile  
 More options Nov 9 2012, 12:30 pm
From: drew einhorn <drew.einh...@gmail.com>
Date: Fri, 9 Nov 2012 09:30:36 -0800 (PST)
Local: Fri, Nov 9 2012 12:30 pm
Subject: My first django-cms page results in 404

(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"

Page not found (404)Request Method:GETRequest URL:
http://localhost:8000/home/?preview

CMS: Page not found for "home"

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.

  settings.py
4K Download

  urls.py
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jamil Enriquez Deceano  
View profile  
 More options Nov 9 2012, 12:36 pm
From: Jamil Enriquez Deceano <jenriquezdece...@gmail.com>
Date: Fri, 9 Nov 2012 11:36:51 -0600
Local: Fri, Nov 9 2012 12:36 pm
Subject: Re: My first django-cms page results in 404

show me your view

2012/11/9 drew einhorn <drew.einh...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
drew einhorn  
View profile  
 More options Nov 9 2012, 12:42 pm
From: drew einhorn <drew.einh...@gmail.com>
Date: Fri, 9 Nov 2012 09:42:25 -0800 (PST)
Local: Fri, Nov 9 2012 12:42 pm
Subject: Re: My first django-cms page results in 404

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?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
drew einhorn  
View profile  
 More options Nov 9 2012, 12:58 pm
From: drew einhorn <drew.einh...@gmail.com>
Date: Fri, 9 Nov 2012 09:58:40 -0800 (PST)
Local: Fri, Nov 9 2012 12:58 pm
Subject: Re: My first django-cms page results in 404

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.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
drew einhorn  
View profile  
 More options Nov 9 2012, 1:26 pm
From: drew einhorn <drew.einh...@gmail.com>
Date: Fri, 9 Nov 2012 10:26:57 -0800 (PST)
Local: Fri, Nov 9 2012 1:26 pm
Subject: Re: My first django-cms page results in 404

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »