title: Django : Can I use CreateView and DeleteView in same form?
body: <p>I want show two button in same form, first button I want use for delete object, and second button to create an object.</p>
  
  <p>For example i want create simple Model like:</p>
  
  <p><strong>models.py:</strong></p>
  
  <pre><code>class UrlStatus_Proxy(models.Model):
  
      urls = models.URLField(u'Site URL', max_length=100, null=True, unique=True)
      status_url = models.CharField(u'Site', max_length=20, choices=STATUS_URL)
  </code></pre>
  
  <p><strong>urls.py</strong></p>
  
  <pre><code>url(r'^url_status/$',ProxyUrlCreateView.as_view(model=UrlStatus_Proxy,
       get_success_url=lambda: reverse('proxy_url_status'),template_name='proxy_url_status.html'), name='proxy_url_status'),
  </code></pre>
  
  <p><strong>proxy_url_status.html</strong></p>
  
  <pre><code>&lt;form action="" method="post"&gt;    
      {{form.as_p}}
      &lt;input type="submit" name="delete" id="delete"&gt;
      &lt;input type="submit" name="add" id="add"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>If I don't have objects in database then do nothing, just displayed form from Model, and you have just one option to add new object in database.</p>
  
  <p>If I have objects in database then list object like table and in table I have one checkbox field. When I checked one of the object and click button "delete" i want delete that object.</p>
  
  <p>In second case If I fill input field from object and press button "add", I want add object in base.</p>
  
  <p>How Can I do it? </p>