Problem_Inline_max_num

3 views
Skip to first unread message

carlos

unread,
May 10, 2010, 12:23:19 PM5/10/10
to django...@googlegroups.com
Hola, tengo un problema con django 1.2 rc 1 en los Inline bueno paso a explicarles, antes en la version 1.1.1 cuando colocaba un max_num = 20 me los pintaba bien ahora que pongo max_num = 9 me los pinta bien pero una ves que sobrepaso ese valor no funciona algo esta pasando con la version de 1.2 rc 1 y quiero usar esta version debido a la nueva caracteristica de boton estilo jquery de agregar otro "NombreModelo" ahora pongo parte del codigo que tengo y una breve explicacion gracias

http://pastebin.com/KN077mNV

Hello, I have a problem with django 1.2 rc 1 in the Inline good way to explain, before the 1.1.1 version when he placed a max_num = 20 looked good to me now that I put max_num = 9 to me look good but once you bypass this value does not work something is happening with version 1.2 RC 1 and I use this version because the new feature of jQuery style button to add another "ModelName" now put part of code I have and a brief explanation thanks. I'm sorry but this is a translation of google

http://pastebin.com/KN077mNV

thank for help me

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Javier Guerra Giraldez

unread,
May 10, 2010, 3:29:58 PM5/10/10
to django...@googlegroups.com
On Mon, May 10, 2010 at 11:23 AM, carlos <croch...@gmail.com> wrote:
> I'm sorry but this is a translation of google

even worse, it's a google translation of a text without punctuations.

--
Javier

Dj Gilcrease

unread,
May 10, 2010, 5:06:02 PM5/10/10
to django...@googlegroups.com
On Mon, May 10, 2010 at 3:29 PM, Javier Guerra Giraldez
<jav...@guerrag.com> wrote:
> On Mon, May 10, 2010 at 11:23 AM, carlos <croch...@gmail.com> wrote:
>> I'm sorry but this is a translation of google
>
> even worse, it's a google translation of a text without punctuations.


It isnt all that hard to figure out his meaning if you take a second to read it.

Basically he is saying that in 1.2RC1 setting the max_num option on a
InlineModelAdmin to a number less then the current number of objects
that should show causes an error. He does not however give any
traceback which would be helpful.

Ramiro Morales

unread,
May 10, 2010, 9:56:32 PM5/10/10
to django...@googlegroups.com
On Mon, May 10, 2010 at 6:06 PM, Dj Gilcrease <digit...@gmail.com> wrote:
> On Mon, May 10, 2010 at 3:29 PM, Javier Guerra Giraldez
> <jav...@guerrag.com> wrote:
>> On Mon, May 10, 2010 at 11:23 AM, carlos <croch...@gmail.com> wrote:
>>> I'm sorry but this is a translation of google
>>
>> even worse, it's a google translation of a text without punctuations.
>
>
> It isnt all that hard to figure out his meaning if you take a second to read it.
>
> Basically he is saying that in 1.2RC1 setting the max_num option on a
> InlineModelAdmin  to a number less then the current number of objects
> that should show causes an error. He does not however give any
> traceback which would be helpful.

I'd be surprised if that's what happening. There are tests that
exercise that feature and show that's not the case:

http://code.djangoproject.com/browser/django/trunk/tests/modeltests/model_formsets/models.py?rev=13094#L363

Also FWIW, a) I don't think that's what the OP was reporting, 2) I agree with
Javier regarding the readability of what the OP posted in English and even
in Spanish. We are asking him to send a better report in the django-es list.

--
Ramiro Morales | http://rmorales.net

Rolando Espinoza La Fuente

unread,
May 10, 2010, 11:23:40 PM5/10/10
to django...@googlegroups.com
On Mon, May 10, 2010 at 5:06 PM, Dj Gilcrease <digit...@gmail.com> wrote:
> On Mon, May 10, 2010 at 3:29 PM, Javier Guerra Giraldez
> <jav...@guerrag.com> wrote:
>> On Mon, May 10, 2010 at 11:23 AM, carlos <croch...@gmail.com> wrote:
>>> I'm sorry but this is a translation of google
>>
>> even worse, it's a google translation of a text without punctuations.
>
>
> It isnt all that hard to figure out his meaning if you take a second to read it.
>
> Basically he is saying that in 1.2RC1 setting the max_num option on a
> InlineModelAdmin  to a number less then the current number of objects
> that should show causes an error. He does not however give any
> traceback which would be helpful.

Here is the related ticket
http://code.djangoproject.com/ticket/13521

~Rolando
Reply all
Reply to author
Forward
0 new messages