----- Reply message -----
From: "Peter of the Norse" <rahmcoff+...@radio1190.org>
Date: Sun, May 27, 2012 9:53 am
Subject: Error with Views on Admin and Index page
To: <django-users@googlegroups.com>

Can we see your urls.py? I'm worried that you’re directing to a views.py file 
that doesn't actually exist.

On May 24, 2012, at 2:38 PM, cat123 wrote:

> No I'm not doing the Django tutorial. I'm following a couple of older
> Django books that were published circa 2009 using Django 1.1. ('m
> using Django 1.3). I did set up Staticfiles  (the Django 1.3 way, the
> best I could as a newbie, following djangoproject directions) but
> staticfiles is of course for static pages...I did create a page with
> base.html and css, and was able to view that.  Are Admin pages and the
> Index page considered staticfiles? If so, maybe I didn't set that up
> right?
> 
> 
> On May 24, 1:14 pm, Apokalyptica Painkiller <apokalyptic...@gmail.com>
> wrote:
>> Are you doing django's tutorial? If it is correct in which part are you?
>> 
>> 2012/5/24 cat123 <email...@gmail.com>
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> Hi Apo:
>> 
>>> Thanks for the feedback...When I look at those links, they're both
>>> about views from apps that have been created. I haven't created any
>>> apps yet... so which Views do you think it may be talking about, and
>>> where would I look for this?
>> 
>>> On May 24, 12:14 pm, Apokalyptica Painkiller
>>> <apokalyptic...@gmail.com> wrote:
>>>> Hello why don't you check this two links:
>> 
>>>> http://stackoverflow.com/questions/5350241/django-import-error-that-r...
>> 
>>>> http://stackoverflow.com/questions/3496920/django-viewdoesnotexist
>> 
>>>> Good luck :)
>> 
>>>> 2012/5/24 cat123 <email...@gmail.com>
>> 
>>>>> I'm new to Django and recently got my very first environment set up
>>>>> (Python 2.7, Django 1.3, with Postgres 9.1.3 and virtualenv)...
>> 
>>>>> I set up everything for "Admin," (first time setup),got the LogIn
>>>>> Page. But when I logged in, instead of going to the admin screen, I
>>>>> got a message saying:
>> 
>>>>> TemplateSyntaxError at /admin/
>>>>> Caught ViewDoesNotExist while rendering. Could not import views. Error
>>>>> was: No module named views.
>> 
>>>>> I noticed I also get something similar after I uncommented the django-
>>>>> supplied index page (in urls.py) (which I have also never
>>>>> resolved...seems they may be connected?):
>> 
>>>>> ViewDoesNotExist at / Could not import hgb_project.views. Error was:
>>>>> No module named views
>> 
>>>>> Would appreciate any help anyone has to offer...
>> 
>>>>> Thanks,
>>>>> cat
>> 
>>>>> --
>>>>> 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 group, send email to
>>>>> django-users+unsubscr...@googlegroups.com.
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/django-users?hl=en.
>> 
>>>> --
>>>> I live each day
>>>> Like it's my last
>>>> I live for rock and roll
>>>> I never look back
>> 
>>>> I'm a rocker
>>>> Do as I feel as I say
>>>> I'm a rocker
>>>> And no one can take that away
>> 
>>> --
>>> 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 group, send email to
>>> django-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/django-users?hl=en.
>> 
>> --
>> I live each day
>> Like it's my last
>> I live for rock and roll
>> I never look back
>> 
>> I'm a rocker
>> Do as I feel as I say
>> I'm a rocker
>> And no one can take that away
> 
> -- 
> 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 group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
> 

Peter of the Norse
rahmc...@radio1190.org



-- 
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 group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

-- 
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 group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to