Re: generic views

2008-02-05 Thread LMZ
do it like this: return object_list( request, **CATEGORY_DETAIL ) read about this: http://docs.python.org/tut/node6.html#SECTION00672 concrete for this example: >>> def parrot(voltage, state='a stiff', action='voom'): ... print "-- This parrot wouldn't", action, ... pri

Integrating plug-in with stand-alone site.

2008-05-16 Thread LMZ
Having a plug-in, want to write some code for that plug-in, that can help simple, flexible future integration with some stand-alone django site. Under term "Integrating" I mean, first of all "User authentication/ registration/management" my thoughts: create from django.contrib.auth.models impor