Re: URL tag

2008-06-06 Thread Sephi
Have you tried adding a parameter to the templatetag ? You try to output the url for the "posts_by_tag" view, but you don't pass any post tag. In the example you gave from the docs, there's a client id passed to the templatetag. Try the following : {% url blogapp.posts_by_tag 'mytag' %} On Jun 5

OneToOne relations generates many UNIQUE indexes on MySQL

2008-05-04 Thread Sephi
Creating the following very simple model : class Interactable(models.Model): pass class News(Interactable): title = models.CharField(max_length = 50) excerpt = models.CharField(max_length = 100) text = models.TextField() And then synchronizing the database reveals that 2 unique indexes