[BangPypers] 'dict' object has no attribute 'company_name'

2011-08-15 Thread Asif Jamadar
charges = [(c.company_name) for c in ReportModel.objects.values('company_name').distinct()] but it throws this error: 'dict' object has no attribute 'company_name' any suggestions? ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] 'dict' object has no attribute 'company_name'

2011-08-15 Thread Ramdas S
On Mon, Aug 15, 2011 at 3:00 PM, Asif Jamadar asif.jama...@rezayat.netwrote: charges = [(c.company_name) for c in ReportModel.objects.values('company_name').distinct()] but it throws this error: 'dict' object has no attribute 'company_name' paste the whole code

Re: [BangPypers] 'dict' object has no attribute 'company_name'

2011-08-15 Thread Jeffrey Jose
On Aug 15, 2011 3:02 PM, Asif Jamadar asif.jama...@rezayat.net wrote: charges = [(c.company_name) for c in ReportModel.objects.values('company_name').distinct()] but it throws this error: 'dict' object has no attribute 'company_name' any suggestions? dict attribute

Re: [BangPypers] Django - share login sessions on sub-domain

2011-08-15 Thread Ansal
Yes, I can do that. But isn't there a way to share the same login session information in sub-domain too? ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Django - share login sessions on sub-domain

2011-08-15 Thread Ketan Padegaonkar
It is possible to set session cookies on a subdomain (*.example.com), in which case you'd need to use the same session storage and user store for all apps in the subdomain so that all the apps can validate the cookie. Having SSO is a much cleaner and simpler way of authenticating users across

[BangPypers] Looking for PyCon 2012 Speakers

2011-08-15 Thread Brian Curtin
With PyCon 2012 efforts off to a great start, we’re looking for you, the people of the Python community, so show us what you’ve got. Our call for proposals (http://us.pycon.org/2012/cfp/) just went out and we want to include you in our 2012 conference schedule, taking place March 7-15, 2012 in

[BangPypers] two dropdowns dependents on each other

2011-08-15 Thread Asif Jamadar
I have two dropdowns one dropdown is dependent on other (Ex. Country/State dropdowns) Now how can I implement this thing in django? I'm using modelform concept to display form which having two dropdowns Any sugtgestions? ___ BangPypers mailing list

Re: [BangPypers] two dropdowns dependents on each other

2011-08-15 Thread Kenneth Gonsalves
On Tue, 2011-08-16 at 05:46 +, Asif Jamadar wrote: I have two dropdowns one dropdown is dependent on other (Ex. Country/State dropdowns) Now how can I implement this thing in django? ajax -- regards Kenneth Gonsalves ___ BangPypers

Re: [BangPypers] two dropdowns dependents on each other

2011-08-15 Thread Asif Jamadar
Can you provide me example using ajax? ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers ___ BangPypers mailing list BangPypers@python.org