Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in django-class-based-views

Sending request.user object to ModelForm from class based generic view in Django

Multiple Forms and Formsets in CreateView

No URL to redirect to. Either provide a url or define a get_absolute_url method on the Model

set initial value in CreateView from ForeignKey (non-self.request.user)

How can I get 'pk' or 'id' in `get_context_data` from CBV?

Set initial value to modelform in class based generic views

Django passing variables to templates from class based views

Django Call Class based view from another class based view

Django: Search form in Class Based ListView

How to redirect on conditions with class based views in Django 1.3?

What is context_object_name in django views?

success_message in DeleteView not shown

Updating User model in Django with class based UpdateView

Is it okay to set instance variables in a Django class based view?

cache_page with Class Based Views

Accessing request.user in class based generic view CreateView in order to set FK field in Django

'function' object has no attribute 'as_view'

How to process a form (via get or post) using class-based views?

success_url in UpdateView, based on passed value

Django Class Based View for both Create and Update