**some corrections from my previous post
By "model" I mean "view" and in #1, index.html gets changed to
poll_list.html
Sorry!
--
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
Hi group,
I've noticed a few things in the tutorial documentation for 1.2 on page *
http://docs.djangoproject.com/en/1.2/intro/tutorial04/* under the section
"Use generic views: Less code is better":
1. It instructs the user to rename both the *detail.html* and *list.html*pages
to
*poll_*.htm
Ok, right after my last post the content seems to have been corrected!
Nice! Please disregard my previous post. Thank you for the documentation
update!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dja
I accidentally previously sent this post just to Rob - sorry about that Rob!
I know that this is a couple months old, but the documentation does seem to
be incorrect. I am using 1.2.4, and am on the correct tutorial page
(http://docs.djangoproject.com/en/1.2/intro/tutorial04/), and the import
As mentioned before,
If you are using Django 1.2 you dont need to import list_view or
detail_view just 'from django.conf.urls.defaults import *'
As the tutorial documentation for 1.2
http://docs.djangoproject.com/en/1.2/intro/tutorial04/
instructs:
from django.conf.urls.defaults import *
from p
On 23 Nov., 17:44, Daniel Roseman wrote:
> On Nov 23, 4:06 pm, steph wrote:
>
>
>
> > Hi group,
>
> > I'm new - just worked thgough the tutorial. In part 4 about the use of
> > generic views I've got a problem - I can't import ListView and
> > DetailView:
>
> > >>> from django.views.generic imp
ist_detail now :-) ... but the other?
maybe a problem with my installation ...
On 23 Nov., 17:37, Michael Sprayberry
wrote:
> Steph,
>
> those instructions are incorrect try
> from djanog.views.generic import list_view, list_detail
>
> Michael
>
> --- On Tue, 11/23/10, steph
On Nov 23, 4:06 pm, steph wrote:
> Hi group,
>
> I'm new - just worked thgough the tutorial. In part 4 about the use of
> generic views I've got a problem - I can't import ListView and
> DetailView:
>
> >>> from django.views.generic import DetailView
>
> Traceback (most recent call last):
> File
Firstly friend,
1.3 alpha has been released as a testing package. It isnt the most
stable version and not meant for production, I would revert back to
1.2 unless your plan is to help the django team with bug fixes.
Also, you are reading the wrong tutorial for your version, that is
why you are g
Steph,
those instructions are incorrect try
from djanog.views.generic import list_view, list_detail
Michael
--- On Tue, 11/23/10, steph wrote:
From: steph
Subject: tutorial part 4: ImportError
To: "Django users"
Date: Tuesday, November 23, 2010, 11:06 AM
Hi group,
I
Hi group,
I'm new - just worked thgough the tutorial. In part 4 about the use of
generic views I've got a problem - I can't import ListView and
DetailView:
>>> from django.views.generic import DetailView
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name Det
11 matches
Mail list logo