Re: Calling the same views, displaying in different templates

2010-04-13 Thread rvidal
Thanks! I knew there was a way around this. Repeating code is very not like django :) Works like a charm. Thanks again. On Apr 13, 12:30 am, Danny Adair wrote: > On Tue, Apr 13, 2010 at 15:59, rvidal wrote: > >[...] > > I have my urls.py looking something like this: > > u

Calling the same views, displaying in different templates

2010-04-12 Thread rvidal
Hi, I have a database of related data connected via foreign keys. One to many relationships between one table and various other tables. Random example: Client - id - name - age Receipts - id - client (fk) - timestamp Contacts - id - client (fk) - timestamp I have my urls.py looking something l

Re: Variable variables

2009-09-16 Thread rvidal
Thank you James, I'm in the process of breaking this down in the view. Should have thought about that earlier. Thanks again! R On Sep 16, 6:22 pm, James Punteney wrote: > Hi Ricardo, > > On Wed, Sep 16, 2009 at 12:18 PM, rvidal wrote: > > I can see that I'm u

Variable variables

2009-09-16 Thread rvidal
Hi, I have the following situation: I have a dictionary with dictionaries nested, like so: cutsites = {'rfc10': {'EcoRI':[20, 112], 'XbaI':[5, 12, 45], 'SpeI': [45, 129, 245]}, 'rfc21': {'EcoRI':[2, 22], 'XbaI':[15, 42, 66], 'SpeI':[55, 69, 95]} } And I also