On Tuesday, April 12, 2011 11:17:15 AM UTC+1, Lloyd Dube wrote: > > Hi Daniel, > > Thanks. I would think that plugging about in the default django > installation would not be good practice - can that file simply reside in the > project directory and the name > in settings.py MIDDLEWARE_CLASSES becomes 'myproj.filename', ? > > My colleague has so far added the middleware to the django-pagination > middleware and it works just fine. > > Thank you! > Yes, no reason to put it in the Django installation. Put it in your project, or in one of your apps. But the entry in MIDDLEWARE_CLASSES needs to be 'filename.classname'. -- DR.
-- 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.