문제

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