Skip to content
Snippets Groups Projects
Forked from ICS Control System Infrastructure / csentry
Source project has a limited visibility.
  • Benjamin Bertrand's avatar
    782709a3
    Add validators for first and last IP in Network · 782709a3
    Benjamin Bertrand authored
    The database constraints will catch the same error
    (and raise an IntegrityError).
    
    Having some validation at the model level allows to display nicer error
    messages.
    We use CSEntryError exception and not ValidationError so that it can be
    used both by the API and views.
    782709a3
    History
    Add validators for first and last IP in Network
    Benjamin Bertrand authored
    The database constraints will catch the same error
    (and raise an IntegrityError).
    
    Having some validation at the model level allows to display nicer error
    messages.
    We use CSEntryError exception and not ValidationError so that it can be
    used both by the API and views.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.