login_required for a generic view in URLconf
If you use generic views for authenticated users, you must remember to ensure that the generic views are for auth users.
- generic
- urlconf
If you use generic views for authenticated users, you must remember to ensure that the generic views are for auth users.
when you deploy djangos apps, some servers have problems resolving the absolute path of some files (e.g: sqlite3 + lighttpd + apache), using the snippet above solves this issue :)
pgugged has posted 2 snippets.