Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Plugin cancel button doesn't work when using a PlaceholderField with a custom model - Issue 1452 #1461

Merged
merged 5 commits into from Oct 4, 2012
Commits on Oct 2, 2012
  1. Fixed test_add_edit_plugin. Test wasn't properly testing the cancel b…

    kux committed Oct 1, 2012
    …utton functionality due to the wrong URL
Commits on Oct 3, 2012
  1. * fixed 'cancel' button on edit plugin form (when used in as PluginFi…

    kux committed Oct 3, 2012
    …eld in a custom model)
    
    * mind that the fix duplicates code from pluginadmin.py; however, this seems to be the common pattern (most of the edit_plugin method is already duplicated)
  2. Inheriting from a class that defines 'test_' methods makes the tests …

    kux committed Oct 3, 2012
    …from the superclass run twice. Fixed this.