Leveraging the ORM for very complex queries

2015-05-02 Thread Suriya Subramanian
Hello, I have to write some complex SQL queries that I am unable to express using the ORM. I construct these complex queries by writing a few simple ORM queries, getting the SQL using QuerySet.query and combining them with various SQL operators manually. These hand-crafted queries are not very

Re: Template syntax issues w dict

2015-05-02 Thread Bernardo Brik
just a small correction – lose the parens after items: {% for org, num in attendees_per_org.items %} On Friday, May 1, 2015 at 4:48:25 AM UTC-3, ADEWALE ADISA wrote: > > If I can understand your code, of seems you want a table of : Institution > | Number of attendees > So if am right u can achive

Re: How to Process Multi Step Forms in Django?

2015-05-02 Thread Bernardo Brik
You should add the same fields (first_name and address) to form2 and render them with hidden inputs. You can try to make form2 inherit from form1 and just add the checkbox. On Friday, May 1, 2015 at 9:58:28 PM UTC-3, Ken Nguyen wrote: > > I've made some attempted to use formwizard but there wasn'

Re: Не отображается админ-панель

2015-05-02 Thread Oleg Bocharov
Hello, Norberto! Thank you! суббота, 2 мая 2015 г., 21:24:02 UTC+6 пользователь Oleg Bocharov написал: > > Не отображается админ-панель. Подскажите пожалуйста, где искать причину. > > Спасибо! > -- You received this message because you are subscribed to the Google Groups "Django users" gro

Re: Не отображается админ-панель

2015-05-02 Thread 술욱
Hello, did you run: python manage.py migrate python manager.py createsuperuser HTH. Norberto 2015-05-02 12:20 GMT-03:00 Oleg Bocharov : > Не отображается админ-панель. Подскажите пожалуйста, где искать причину. > > Спасибо! > > -- > You received this message because you are subscribed to the G

Suds with Obeject

2015-05-02 Thread nadaei...@gmail.com
Hi All, If i have an wsdl with this parameters and i want to use suds how it will be? *Note:* Before you call this case, you need create the object BaseReq*.* *Input parameters:* · BaseReq: req Required param object: a) clientID b) terminalID c) authCred *I usually c

Fwd: upload csv file from different directories

2015-05-02 Thread sum abiut
-- Forwarded message -- From: sum abiut Date: Thu, Apr 30, 2015 at 2:18 PM Subject: upload csv file from different directories To: django-users@googlegroups.com Hi I am writing an app that upload csv file and write csv data to models. So far everything is working fine. What i wan

django 1.8 customize site title

2015-05-02 Thread drakkan
Hi, I would like to customize django 1.8 site title without override the template using AdminSite, I customized AdminSite as per doc here: https://docs.djangoproject.com/en/1.8/ref/contrib/admin/#customizing-the-adminsite-class this seems to work, however the html title still has "Django adm