Soy nuevo en el Foro

2020-05-29 Thread Mateo Carbajal Montiel
Hello, good day everyone on the forum, I am new to the topic, but I have the basic notions and it makes me quite interesting, I would ask you to recommend books, documents, to understand the topic further, excellent day, greetings. -- You received this message because you are subscribed

Sort Custom method with Inlines

2015-09-11 Thread MATEO BOHORQUEZ
from django.contrib import admin from animalitos.models import Animal, Adoptante, Adoptar from django.db import models #Animal > Table of cardinality N, the primary key is idAnimal #Adoptante > Table of cardinality N, the primary key is idAdoptante #Adoptar > is a table created of N:N

Sort Custom method with Inlines

2015-09-11 Thread DAVID MATEO BOHORQUEZ GALEANO
from django.contrib import admin from animalitos.models import Animal, Adoptante, Adoptar from django.db import models #Animal > Table of cardinality N, the primary key is idAnimal #Adoptante > Table of cardinality N, the primary key is idAdoptante #Adoptar > is a table created of N:N

Problem with spliting project into meaningfull apps.

2010-12-27 Thread Mateo
Hey, I have problem with dividing my project into apps that have point, I have database that consist of : - news - reviews - predictions - articles - download - games - gallery - categories - users - comments - producer I’ve grouped them like that: 1. Content Management app 2. Comments Management

Re: Error - 'int' object is unsubscriptable

2007-04-21 Thread mateo
the formating here, everythings at 4 in scribes. Thanks again, mateo On Apr 21, 4:09 pm, "Jay Parlar" <[EMAIL PROTECTED]> wrote: > On 4/21/07, mateo <[EMAIL PROTECTED]> wrote: > > > > > I've found that if I add the 'admin' subclass to the 'choices' class &g

Re: Error - 'int' object is unsubscriptable

2007-04-21 Thread mateo
I've found that if I add the 'admin' subclass to the 'choices' class and remove 'edit_inline=models.TABULAR, num_in_admin=3' from the Foreign Key I can save new entries just fine. The error only pops up when I have the 'choices' edited inline with the 'polls'. On Apr 21, 3:02 pm, mateo <[EM

Re: Error - 'int' object is unsubscriptable

2007-04-21 Thread mateo
a bit and see if I get the same error. On Apr 21, 2:46 pm, "Jay Parlar" <[EMAIL PROTECTED]> wrote: > On 4/21/07, mateo <[EMAIL PROTECTED]> wrote: > > > I am on part 2, 'Custominze the Admin Change List'. (http:// > >www.djangoproject.com/documen

Re: Error - 'int' object is unsubscriptable

2007-04-21 Thread mateo
al02/#customize-the-admin-change-list) Here is my copy of models. thanks, mateo from django.db import models import datetime class Poll(models.Model): question = models.CharField(maxlength=200) pub_date = models.DateTimeField('date published') def __str__(self):

Error - 'int' object is unsubscriptable

2007-04-21 Thread mateo
List, When following the tutorial I get the below error when attempting a save from the admin console. I'm new to Django and certainly not a guru of any sort so I thought I would ask about it here first before posting a bug report. I am using the latest SVN release as of 4/21. Any ideas what