質問

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?

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top