Re: project architecture question

2011-11-14 Thread Derek
On Nov 14, 2:44 pm, "Sells, Fred" wrote: > I build healthcare applications and the gov't regs require we log most > user access to patient info. > > Since I've only built one (rather large) Django app, my logging is in > the same DB as my data and I use decorators in

project architecture question

2011-11-14 Thread Sells, Fred
I build healthcare applications and the gov't regs require we log most user access to patient info. Since I've only built one (rather large) Django app, my logging is in the same DB as my data and I use decorators in views.py to log all access. There is only one table in it's own schema that is

Re: Application decoupling - project architecture question

2009-08-08 Thread kmike
I wrote a simple app that may be useful for avatar management: http://bitbucket.org/kmike/django-generic-images/wiki/Home It's similar to django-tagging in aspect that images can be attached to any model using generic relations and then fetched in a few sql queries. Avatar-uploading view example

Re: Application decoupling - project architecture question

2009-08-08 Thread kmike
I wrote a simple app that may be useful for avatar management: http://bitbucket.org/kmike/django-generic-images/wiki/Home It's similar to django-tagging in aspect that images can be attached to any model using generic relations and then fetched in a few sql queries. Avatar-uploading view

Re: Application decoupling - project architecture question

2009-08-07 Thread Andrin Riiet
Thanks for your replies, I read the book and indeed I found what I needed. For anyone who happens to read this and is wondering the same thing, here's how it goes: You extend the base form class (eg editProfileForm), add the avatar field to it and you use the new form class by passing it as

Re: Application decoupling - project architecture question

2009-08-07 Thread grElement
There is a good tutorial on this in Practical Django Projects http://www.amazon.com/Practical-Django-Projects-Pratical/dp/1590599969 It goes a bit more into theory that I found helpful. On Aug 6, 8:07 am, Andrin Riiet wrote: > Hi, I'd like to shed some light on the

Re: Application decoupling - project architecture question

2009-08-06 Thread Paulo Almeida
I'm far from being an expert, but maybe you can look at the django-tagging code for inspiration: http://code.google.com/p/django-tagging/ What they do is to provide a TagField in the tagging application, and then you can use that field in the form of the application using tags. You can probably

Application decoupling - project architecture question

2009-08-06 Thread Andrin Riiet
Hi, I'd like to shed some light on the "the right way" to make applications in django by an example and a few questions. Let's say that I have a 'users' application (acting as "user profiles" on the built-in user authentication system) and I want to add an avatar image feature to it. I'd like to