Tuesday, November 15, 2011

Re: site organization best practices

I'm no expert here but if it were me building this project, I'd build the logging mechanism as a separate app and still use the decorator as you are already doing. As for 'cross app reference' - you just import your logging app into your project they way you do any other app. Should be fairly simple to factor out your current logging code into a separate app.  Then it will be easier to reuse in other projects. 
best
Mike

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/MZXPg-mmDc0J.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate