Commit Graph

5 Commits

Author SHA1 Message Date
Daniel Roschka e13b42cd13 Refactors the views used to add and delete records.
Notable changes are:
* Refactored views, utilizing more of Djangos features, resulting in simpler
  code.
* URLs are now the same when initially filling out a form and when editing a
  submitted form which contained errors.
* Instead of a result page showing the response from the DNS server (which is
  now logged using Djangos "logging" functionality) the user is now redirected
  back to the record listing of the current zone when the action was successful
  or stays on the form page when an error occured. Proper success/error
  messages are shown in both cases by utilizing Djangos "messages"
  functionality.
2015-09-05 19:03:21 +02:00
Daniel Roschka 20d785840b Fixes some python style issues.
No changes in binders functionality are included in this commit, just improved
python style
2015-06-13 12:05:42 +02:00
Jeffrey Forman 46a91e2fdf Add error handling in delete_record function around unrecognized/malformed keys. 2012-11-29 21:52:27 -05:00
Jeffrey Forman 823da81ed4 Add exceptions for records and zone modifications 2012-11-17 20:40:15 -05:00
Jeffrey Forman ba4ea4176d Initial add of binder exceptions file. Add TransferException 2012-11-17 13:28:21 -05:00