Re: Signal handler not work

2013-01-18 Thread ragsagar
On Fri, Jan 18, 2013 at 12:02 PM, yillkid wrote: > But not works, anybody help me ? Now working means? What exactly happening? a `Last` object will be created everytime you save the `Info` model object. If you don't want to do that accept an argument `created` and check if it is created or alre

django admin filter foregein key

2013-01-18 Thread Mariano DAngelo
What I'm trying to do is to filter a dropdown list with foregein key, with the value of a previus selected dropdown list: cat_choices = (('AMA','Amateur Mayores'),('AJ','Amateur Juveniles'),('AME','Amateur Menores'),('P','Profesional')) class category(models.Model): name = models.CharFi

Re: Django lucene

2013-01-18 Thread Harry Houdini
I originally went down this path but I too ran into many problems getting this to work and ended up using Whoosh instead. The site was small ~30 pages or so it was still pretty fast. I had it index by reading the sitemap and pulling down the page content from the web server. I used BeautifulSo

Re: django: creating tag groups

2013-01-18 Thread Andre Terra
I'd just like to emphasize that django-mptt is *the* way to go. It's one great application that make it a breeze to work with hierarchies. Cheers, AT On Fri, Jan 18, 2013 at 4:01 AM, Sammael wrote: > Amirouche, thank you very much. > jQuery solution is quite interesting but it's more complicat

Re: quantize result has too many digits for current context

2013-01-18 Thread Hector Armando Vela Santos
Are you sure that that's the only thing you are doing? have you done something before with the prices(preco_unit, valor_total)?? I had once this error but was because I was trying to save a decimal field wich exceeded the length of the integer part of my decimal field. On Thursday, January 17,

Getting a no such column error when adding data and syncdb is not syncing

2013-01-18 Thread Nick
This is my first django project outside of the tutorials and it's frustrating to stumble over something so simple. I'm getting this error when I try to add a product: > DatabaseError at /admin/products/product/add/ > > table products_product has no column named pub_date > > This is what my mode

Re: Getting a no such column error when adding data and syncdb is not syncing

2013-01-18 Thread Sergiy Khohlov
python manage.py syncdb Many thanks, Serge +380 636150445 skype: skhohlov 2013/1/18 Nick : > This is my first django project outside of the tutorials and it's > frustrating to stumble over something so simple. > > I'm getting this error when I try to add a product: >> >> DatabaseError at /adm

Re: Getting a no such column error when adding data and syncdb is not syncing

2013-01-18 Thread Tom Evans
On Fri, Jan 18, 2013 at 3:38 PM, Nick wrote: > This is my first django project outside of the tutorials and it's > frustrating to stumble over something so simple. > > I'm getting this error when I try to add a product: >> >> DatabaseError at /admin/products/product/add/ >> >> table products_produ

Re: Django lucene

2013-01-18 Thread Amirouche Boubekki
Héllo, I'm curious why do you use lucene instead of solr ? Thanks 2013/1/18 Harry Houdini > > I originally went down this path but I too ran into many problems getting > this to work and ended up using Whoosh instead. The site was small ~30 > pages or so it was still pretty fast. I had it ind

How to deploy Django apps with Google App Engine

2013-01-18 Thread Harit Himanshu
Hello Everyone I am new user of Django and this community and want to know how can we deploy Django apps on Google App Engine. Are there Easy, Simple ways to accomplish it? Please guide me through your experiences, resources that you are aware of Thank you very much + Harit Himanshu -- You r

Re: How to deploy Django apps with Google App Engine

2013-01-18 Thread Londerson Araújo
Man, first, GAE dont accept the ORM of Django, and you need use somethin called Django-Nonrell, you will find in this site, http://www.allbuttonspressed.com/projects/django-nonrel. I think Heroku is better, and more simple to deploy! -- You received this message because you are subscribed to the

Getting error 500 when using jquery/ajax

2013-01-18 Thread Dex
Hi, I'm new to Django. I'm creating a game that has a 10x10 board and when a cell is clicked upon, it will be marked with an "X". Marking the cells works in jquery but I want to send data to server side to let it know that the cell is marked. That way when I quit the game and come back later, i

Re: Error: No module named books

2013-01-18 Thread Sandip Sinha
Thanks Chris. Your response just saved my day! I was able to get past this issue!! - Sandip On Thursday, November 29, 2012 6:24:36 PM UTC-8, Chris Recher wrote: > Thanks for the help everyone. I was using 1.4.x, not the 1.0 the book is > based on. After fooling around with the commands for

Re: Getting error 500 when using jquery/ajax

2013-01-18 Thread Mario Gudelj
Replicate this error in chrome, then go to network tab in dev tools, look at the request that gets 500 and check the response. You should be able to see the stack trace if debug is on. On 19 Jan, 2013 8:01 AM, "Dex" wrote: > Hi, I'm new to Django. I'm creating a game that has a 10x10 board and wh

Re: Setting urls from project

2013-01-18 Thread Peter of the Norse
This is exceptionally wrong! If you put a $ in the pattern, it will only match those urls. For example the uri http://localhost/cadastro/56/ won't match anything. Only http://localhost/cadastro/ would match, and if you're including another url file, I doubt that's what you want. On 12/24/2012