Possible Duplicate:
How can I include custom modules in a Django app
There are functions that I’d like to re-use in my views. Do I define them inside views.py? What is the “django way” to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have seen projects that use a
utils.pyfile. If the functions inside only pertain to one app it goes in the apps directory. If it is shared between apps it can go in an app calledcommonor something to similar effect.