Class based views for django
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
views.py

README

views.py:
- View:
    A base class for views. Can be used like this:

        class myview(View):
            template_file = 'myapp/template.html'

            @property
            def context_dict(self):
                return {'authenticated': self.request.user.is_authenticated()}