Hi,
I am trying to create a custom template tag that generates a repetitive
HTML snippet. This tag is an anchor tag "a" with extra classes and styles,
plus some logic to apply additional classes and styles. I want the syntax
in the template to look something like:
{% my_anchor URL %}this is te
Hi, I want to annotate the concatenation of two string fields, something like
Domain.objects.annotate(annotation=F('field1')+F('field2'))
however it is not possible to use F expressions on annotate().
I'm trying to accomplish the same thing using extra() however I don't
know how to do it right,
when I syncdb and use south schemamigration, I still can't get the
ManyToManyField to show up.
what am I doing wrong. Any parameters I can pass to make it work?
Thank you guys
class Products(models.Model):
#product_id = models.AutoField(primary_key=True)
hs_number = models.CharField(pr
Hi everyone,
I am new at python and I want to start to learn django.
I have small question, how can I register my ID to join #django in mIRC?
CS
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
Did you find any solution for this? I have the same problem.
Den söndagen den 7:e juli 2013 kl. 05:33:09 UTC+2 skrev deJa:
>
> Hello,
> I'm developing an application with 1.6b1 and getting "ERROR: Invalid
> HTTP_HOST header: www.foo.com.'.You may need to add u'www.foo.com.' to
> ALLOWED_HOSTS.
In my Django web app (running on Google App Engine), when a new user signs
up a User object is created and then that user is authenticated and logged
in. Every once in a while, the login function throws an exception
(DatabaseError: Save with update_fields did not affect any rows) and I'm
not
Guys
What is the best way to configure and make accessible via URL the STATIC and
the MEDIA uri?
I can`t seem to find a good way, and get so many errors for the both being
equal.
Can someone send me an example of this configs?
Thanks!
--
You received this message because you are subscribed
7 matches
Mail list logo