Is django can run in FIPS mode:

2019-04-10 Thread Gowtham Shanmugam
time, is Django can run in FIPS mode, is that issue is solved? I am using the Django command: ``` django-admin migrate django-admin migrate django-admin migrate ``` Error: "ValueError: error:060800A3:digital envelope routines:EVP_DigestInit_ex:disabled for fips" Thanks & Reg

django treemenus implementation question

2012-04-18 Thread gowtham
Hi Everyone, Another newbie question to the group. For the tiny Django application I created for past few weeks, we decided to implement a menu with tree structure. I found django-treemenus application started to implement it (I am still open to other suggestions). I could not quite get everything

Re: Accessing objects from a dictionary in templates

2012-03-24 Thread gowtham
for educating me, Gowthaman On Sat, Mar 24, 2012 at 3:36 AM, Sam Lai wrote: > On 24 March 2012 09:29, gowtham wrote: > > Template tag filters like this (made one for each field in the library > > object) helps me to get what i wanted But, that seems too silly to > do.

Re: Accessing objects from a dictionary in templates

2012-03-23 Thread gowtham
Template tag filters like this (made one for each field in the library object) helps me to get what i wanted But, that seems too silly to do... in template {{ reslibdic|hash2libcode:res.result_id }} in template tag file: def hash2libcode(h,key): if key in h: return h[key].librar

Re: Accessing objects from a dictionary in templates

2012-03-23 Thread gowtham
sorry, I meant to say "It's quite possible i am NOT doing the right thing." On Fri, Mar 23, 2012 at 3:24 PM, gowtham wrote: > Yes, That is correct. > > Let me step back a bit and explain you what i am trying. It's quite > possible i am doing the ri

Re: Accessing objects from a dictionary in templates

2012-03-23 Thread gowtham
ied well or confused more Anyway, i really appreciate your efforts to help me. Gowthaman On Fri, Mar 23, 2012 at 3:07 PM, Reinout van Rees wrote: > On 23-03-12 22:00, gowtham wrote: > >> >> But, i could not get it. It prints the primary key of the stored object >> rather

Re: Accessing objects from a dictionary in templates

2012-03-23 Thread gowtham
Hi Reinout, Thanks. But, i could not get it. It prints the primary key of the stored object rather than the object itself. Gowthaman On Fri, Mar 23, 2012 at 1:41 PM, Reinout van Rees wrote: > On 23-03-12 20:56, gowtham wrote: > >> >> But, in template, rather than iterating o

Accessing objects from a dictionary in templates

2012-03-23 Thread gowtham
Hi Everyone, I am trying to pass a dictionary with numerical as key and a object as value to my template... i construct it like this: reslibdic[res.result_id]=Library.objects.get(libraryresult__result__result_id=res.result_id) But, in template, rather than iterating over the dictionary (using for

Re: best resources for learning django

2012-03-02 Thread gowtham
Not sure if it is the best one (would like to here from Pros on this). But following really helped me to get started. I finishing this tutorial in 2 days and the next two days, i started and had a working application (simple though) for my project.. https://docs.djangoproject.com/en/1.2/intro