Re: CSRF in javascript

2013-07-21 Thread Karl Arunachal
Ok! I will check. Thank you! On Sun, Jul 21, 2013 at 4:27 AM, Fred Stluka wrote: > Karl, > > You are calling render_to_response() wrong. See the docs at: > > https://docs.djangoproject.com/en/dev/topics/http/shortcuts/#render-to-response > > Instead of: > > > variables = Reque

Re: django-admin.py startproject mysite error

2013-07-21 Thread gilberto dos santos alves
please what appear when you run this code: python import sys for locals in sys.path: print locals Em sábado, 20 de julho de 2013 18h55min21s UTC-3, Jay Lozier escreveu: > > Using openSUSE 12.3 > python 2.7.3 > django 1.5.1 installed manually and verified > > When I enter "django-admin.py

Re: Search from database

2013-07-21 Thread Amirouche Boubekki
You have to build it yourself or use something like solr http://lucene.apache.org/solr/ I forgot the name other of the buzzing one. maybe Haystack has support for suggestion. 2013/7/20 Kamal Kaur > Can we have a search module in django that can suggest resembling > spellings from mysql database

Re: django-registration ImportError

2013-07-21 Thread donarb
On Saturday, July 20, 2013 9:23:37 PM UTC-7, Mike wrote: > > I just updated django-registration to 1.0 (from 0.8) and now I get an > ImportError: > > ImportError: cannot import name activate > > > /Users/mike/sieve-django/SIEVEENV/lib/python2.7/site-packages/registration_email/backends/default/u

Re: Search from database

2013-07-21 Thread Dao Luan
details? 在 2013年7月20日星期六UTC+8上午11时18分21秒,Kamal Kaur写道: > > Can we have a search module in django that can suggest resembling > spellings from mysql database? > > -- > Kamaljeet Kaur > > Blog:http://kamalkaur188.wordpress.com/ > -- You received this message because you are subscribed to the

greetings

2013-07-21 Thread Rene Vielma
http://shreeabhiramashram.in/tnq/ruyonteqffvvj renevielma 7/21/2013 5:51:51 PM -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django

Re: greetings

2013-07-21 Thread Nigel Legg
SPAM Regards, Nigel Legg 07914 740972 http://www.trevanianlegg.co.uk http://twitter.com/nigellegg http://uk.linkedin.com/in/nigellegg On 21 July 2013 17:52, Rene Vielma wrote: > http://shreeabhiramashram.in/tnq/ruyonteqffvvj > > > > > > > > > > > > > > > renevielma > > > > > > > > > > > >

How to merge two lists into one form?

2013-07-21 Thread Tymoteusz Jankowski
I have 2 things: - list of fruits (eg.: apples, lemons, strawberries) - list of answers (eg.: 'selling', 'making', 'both') How can i merge these lists into django form which products something like the html here . The desired form would allow user to pick an ONE answe

Re: Search from database

2013-07-21 Thread Kamal Kaur
We can search from database using phonetic codes or queries. I want an advanced search module in my project. That can suggest similar spellings from database, if user enters something wrong, like if something is misspelled, it must tell that you might have entered something wrong, similar results a

Re:

2013-07-21 Thread Harjot Mann
On Thu, Jul 18, 2013 at 11:57 PM, Sivaram R wrote: > Have you given the correct url? for file > call ? The reportlab and pisa which I am using to convert to html is also taking values from database, cnt we directly convert the html template to pdf without taking the antries from database. -- Ha

Re:

2013-07-21 Thread Nikolas Stevenson-Molnar
Please also provide your urls.py file(s). That's frequently the culprit for 404 errors. _Nik On 7/18/2013 11:11 AM, Harjot Mann wrote: > http://tny.cz/ab1b86eb > Here are my views for creating pdfs but I am getting this error: > > HTTPError at /report/myview/ > > HTTP Error 404: Not Found > > > >

Re: django-admin.py startproject mysite error

2013-07-21 Thread Jay Lozier
I get this note: I have completely deleted any django packages on the my system and could get any version but the dev version to even get past the first step. the dev 1.7 version would run django-admin.py startproject myfirstsite but now python manage.py runserver does not work error in line 10

django-extra-views, NamedFormsetsMixin template syntax?

2013-07-21 Thread Lachlan Musicman
Hola, django-extra-views is a really good app for CBVs with FormSets (after I wasted hours on another solution). While reading the docs, I came across the NamedFormsetsMixin https://github.com/AndrewIngram/django-extra-views#other-bits-of-functionality which I thought looked nice, and implemente

Re: django-registration ImportError

2013-07-21 Thread Mike
On Sunday, July 21, 2013 5:20:36 PM UTC+2, donarb wrote: > > > > On Saturday, July 20, 2013 9:23:37 PM UTC-7, Mike wrote: >> >> I just updated django-registration to 1.0 (from 0.8) and now I get an >> ImportError: >> >> ImportError: cannot import name activate >> >> >> /Users/mike/sieve-django/S