Thanks a lot!
I don't know why I missed article variable!
Thanks, again!
On Thu, May 14, 2009 at 11:23 PM, Gene wrote:
>
> You may still be able to use the built-in django-comments, as it's
> easy to customize (especially if your just adding extra fields). You
> can read about it here:
> http:
You may still be able to use the built-in django-comments, as it's
easy to customize (especially if your just adding extra fields). You
can read about it here:
http://docs.djangoproject.com/en/dev/ref/contrib/comments/custom/#ref-contrib-comments-custom
Gene
On May 14, 12:59 pm, Oleg Oltar wro
On May 14, 5:59 pm, Oleg Oltar wrote:
> Well, the problem with built in comments framework is that I need few more
> fields in comments.
>
> What I created is:
>
> MODEL:
>
> class Comment(models.Model):
> name = models.CharField(max_length = 30)
> body = models.CharField(max_length = 200
Well, the problem with built in comments framework is that I need few more
fields in comments.
What I created is:
MODEL:
class Comment(models.Model):
name = models.CharField(max_length = 30)
body = models.CharField(max_length = 2000)
article = models.ForeignKey(Article)
def __un
On May 12, 10:51 am, Oleg Oltar wrote:
> Hi!
> I am running small blog-styled information site. Which contains articles
> added via admin application
> Now I am trying to add possibility to add comments, so I defined a comment
> Model (which contains Foreign Key to article object, and few text fi
Hi!
I am running small blog-styled information site. Which contains articles
added via admin application
Now I am trying to add possibility to add comments, so I defined a comment
Model (which contains Foreign Key to article object, and few text fields),
also defined forms.
Can you please explain
6 matches
Mail list logo