'FormSet' object has no attribute 'save'

2013-06-23 Thread Mário Idival
Hi guys, I need of little help with formsets. I want save 3 instances of an form in databases. E.G : name lastname - name lastname - name lastname - I try use formset but I'm not getting save, expected this error for me :' ClassNameForSet' object has no attribute 'save' Somebody know how i can

How i can get real value of ForeingKey?

2013-06-26 Thread Mário Idival
bench, table A has saved: field1 = "world" and B is saved in the table: field_b1 = "hello" a_field = 1 Well, how can I get the real value of a_field (which is world)? But there's a catch, I wanna do this for the entire table B, if there is more fields saved in the bank. Sin

How i can get real value of ForeignKey?

2013-06-26 Thread Mário Idival
Good morning, Guys, how can I get the real value of a ForeignKey? Examples: class A (models.Model): field1 = models.CharField (max_length = 10) class B (models.Model): field_b1 = models.CharField (max_length = 10) a_field = models.ForeingKey (A) right, now imagine that on the ben

Add dynamically form to Formset

2013-06-27 Thread Mário Idival
Hello, How you do for add more formset in form with Django 1.5? -- Mário Idival *Twitter *: *@marioigd* *Facebook*: *mario.idival* *User Linux : **#554446* Skype*: marioidival* -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

Re: Views, Forms not working.

2013-07-01 Thread Mário Idival
l Legg > 07914 740972 > http://twitter.com/nigellegg > http://uk.linkedin.com/in/nigellegg > > -- > 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, s

Re: Views, Forms not working.

2013-07-01 Thread Mário Idival
Oh, but the url 'list'? remove the url 'list' of actions in forms 2013/7/1 Nigel Legg > Tried that, still going back to the index page. > > Regards, > Nigel Legg > 07914 740972 > http://twitter.com/nigellegg > http://uk.linkedin.com/in/nigellegg &

Re: server error (500)

2013-07-25 Thread Mário Idival
use this in your settings.py ALLOWED_HOSTS = [] where are you envirioment? you app there in production or development? Em 25/07/2013 04:35, "victoria" escreveu: > > Hi, > > On Thu, Jul 25, 2013 at 4:30 AM, Oliver wrote: > > If I set DEBUG = False, I get this > > > > It worked! > > > > Congratula

How template tag can receive values JS

2013-08-01 Thread Mário Idival
> pass the id that comes from a JS variable to the template tag. Thanks. Mário Idival *Twitter *: *@marioigd* *Facebook*: *mario.idival* *User Linux : **#554446* Skype*: marioidival* *Blog: *https://conconcus.wordpress.com -- You received this message because you are subscribed to the Google

Re: Engineering Roles At a startup

2013-08-03 Thread Mário Idival
Home Work can? Mário Idival *Twitter *: *@marioigd* *Facebook*: *mario.idival* *User Linux : **#554446* Skype*: marioidival* *Blog: *https://conconcus.wordpress.com 2013/8/3 yoibr > I am a freelance recruiter currently hiring Product Engineer,Dev-Ops > engineer > and Infrastructure

Bring real data tables with FK

2013-08-05 Thread Mário Idival
and the company is returning the ID of them respectively, and the ideal would be to show the names of each data (Name and Company Name Layout) .. How can I accomplish this query so that I quoted above? Sincerely, o / Mário Idival *Twitter *: *@marioigd* *Facebook*: *mario.idival* *User Linux

Re: Bring real data tables with FK

2013-08-05 Thread Mário Idival
thanks for answering my question... But i find an way better for this. I create an gist explaining how to do : https://gist.github.com/marioidival/6156074 Thanks! Mário Idival *Twitter *: *@marioigd* *Facebook*: *mario.idival* *User Linux : **#554446* Skype*: marioidival* *Blog: *https