Tuesday, June 28, 2011

Global generic files? Best practice(s)?

Hello,

I was going to start a "global" app for a generic "helpers.py" file; I
plan on using this code in multiple apps.

Question: Is creating a generic app a standard approach to storing
"global" code?

...

If the answer to the above question is "yes":

What's your preferred approach to handling generic/global code?

When using a "global" app how do you package apps that have files that
are not inside app structure? Would you change re-factor/re-arrange
your code/files or would you include the "global" app in your
package/packaging?

TIA!

Cheers,
Micky

--
Micky Hulse
Web Content Editor
The Register-Guard
3500 Chad Drive
Eugene, OR 97408
Phone: (541) 338-2621
Fax: (541) 683-7631
Web: <http://www.registerguard.com>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment