Frage

I am creating a custom decorator class that I will use in each app in my django project. Where is the best place to put this class file?

I was thinking about creating another app in the project called "Utils" or something.

Is there a standard for this situation?

War es hilfreich?

Lösung

Atma - just make an application using the manage.py startapp myapp command.

It seems as if you already know what to do. Not sure why you posted it here.

You can always extend existing classes. It's pretty straightforward.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top