analysispreservation.cern.ch
analysispreservation.cern.ch copied to clipboard
schemas: refactor duplicate code, use decorators, etc
Right now we have a lot of duplicate code in the schemas/views.py, e.g. for checking schema existance, checking schema permissions, etc
Lets create decorators that will handle this and refactor the code