> I have never used generic views, so share your confusion

Well you really should. :)
Well I have seen your name many times on the list so know that you are
a longtime Django user. If you are not using generic views, you are
missing something.

On Jun 13, 12:41 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 13-Jun-08, at 12:54 PM, wave connexion(BQ) wrote:
>
> > 1. in reading overview, "you've got a free, and rich, Python API to
> > access your data. The API is created on the fly, no code generation
> > necessary?"
>
> > Does this mean Django generated API code for you?
>
> django does not generate a single line of code - unlike some other
> frameworks which need to generate all sorts of files with all sorts
> of rules about filenames and position of the file.
>
>
>
> > 2. in tutorial part 1, "What's the difference between a project and
> > an app? An app is a Web application that does something — e.g., a
> > weblog system, a database of public records or a simple poll app. A
> > project is a collection of configuration and apps for a particular
> > Web site. A project can contain multiple apps. An app can be in
> > multiple projects."
>
> > Here, that an app can be in multiple projects means the app code
> > can be copied/imported into different projects rather than shared
> > between different projects?
>
> app code can be imported into different projects. apps need not be
> under the project directory, they can be anywhere in the file system
> as long as django can find them (installed apps).
>
>
>
> > 3. in tutorial part 4 -
> > "Use generic views: Less code is better...
> > url(r'^(?P<object_id>\d+)/results/$',
> > 'django.views.generic.list_detail.object_detail', dict(info_dict,
> > template_name='polls/results.html'), 'poll_results'), ...."
>
> > not very clear on this. more explanation is appreciated.
>
> I have never used generic views, so share your confusion
>
> --
>
> regards
> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/code/
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to