Django

With this simple database table: class Artist(models.Model): id = models.IntegerField(primary_ke y=True) name = models.CharField(max_length=25 5L, blank=True) prefix = models.CharField(max_length=32 L, blank=True) class Meta: db_ta...
With this simple database table: class Artist(models.Model): id = models.IntegerField(primary_ke y=True) name = models.CharField(max_length=25 5L, blank=True) prefix = models.CharField(max_length=32 L, blank=True) class Meta: db_table = 'artist' I want to be able to get a list of the first letter of the names with a
about 2 hours ago
With this simple database table: class Artist(models.Model): id = models.IntegerField(primary_ke y=True) name = models.CharField(max_length=25 5L, blank=True) prefix = models.CharField(max_length=32 L, blank=True) class Meta: db_ta...
With this simple database table: class Artist(models.Model): id = models.IntegerField(primary_ke y=True) name = models.CharField(max_length=25 5L, blank=True) prefix = models.CharField(max_length=32 L, blank=True) class Meta: db_table = 'artist' I want to be able to get a list of the first letter of the names with a
about 2 hours ago
Hi Olivier, It would really help to see a full traceback, could you provide one? Kind regards Michael
Hi Olivier, It would really help to see a full traceback, could you provide one? Kind regards Michael
about 4 hours ago
Hello, Can someone give me an example of configuring robots.txt? I want to block the admin site. and anything else?
Hello, Can someone give me an example of configuring robots.txt? I want to block the admin site. and anything else?
about 11 hours ago
Hi! Has anyone used Tastypie and mongoengine for an application in django and mongodb? It's just that I have a problem and needed help. I'm having trouble doing the many to many relationships. If someone has already done som...
Hi! Has anyone used Tastypie and mongoengine for an application in django and mongodb? It's just that I have a problem and needed help. I'm having trouble doing the many to many relationships. If someone has already done something with tastypie mongoengine and tell me to put my doubts. thank you
about 12 hours ago
Hi guy, I've created a form in a page html that upload a image. After capturing the image and edit it, I need to have it appear in a window j How can i do?
Hi guy, I've created a form in a page html that upload a image. After capturing the image and edit it, I need to have it appear in a window j How can i do?
about 12 hours ago
hi all: I'm learning the django-cms, and the page is: [image: ???? 1] How to solve it? Thank you
hi all: I'm learning the django-cms, and the page is: [image: ???? 1] How to solve it? Thank you
about 14 hours ago
Hi all, I am working on upgrading our system from django 1.3.1 to django 1.5.1, and have run into a huge problem. The site we are running has multilingual support and the platform has multiple top level domain sites connected to it. ...
Hi all, I am working on upgrading our system from django 1.3.1 to django 1.5.1, and have run into a huge problem. The site we are running has multilingual support and the platform has multiple top level domain sites connected to it. Running locally on my machine I get an error when I try to switch
about 14 hours ago
Does there exist a lightweight cache option for django which persists data in a single session. For example: {{gallery.tiles.count}} item{% if gallery.tiles.count != 1 %}s{% endif %} Produces two count() operations on the underlying d...
Does there exist a lightweight cache option for django which persists data in a single session. For example: {{gallery.tiles.count}} item{% if gallery.tiles.count != 1 %}s{% endif %} Produces two count() operations on the underlying database. Is there a way to make that one operation?
about 16 hours ago
A project I am working on uses a hybrid SQL/NoSQL data backend. I'd like to build custom Models which "behave" exactly like the traditional Django Models but are tied into my MongoDB backend. Where should I start to make sure I co...
A project I am working on uses a hybrid SQL/NoSQL data backend. I'd like to build custom Models which "behave" exactly like the traditional Django Models but are tied into my MongoDB backend. Where should I start to make sure I cover all bases? Implementing my own instance Model? I imagine I'll also need custom Model Managers as well.
about 17 hours ago