Django

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 2 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 3 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 3 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 5 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 5 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 7 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 8 hours ago
Hello, I'm trying to deploy django in my public_html directory which is served via [link] by mod_wsgi in apache. However, I'm running into some errors in the admin interface: -------- Environment: Request Method: GET Reque...
Hello, I'm trying to deploy django in my public_html directory which is served via [link] by mod_wsgi in apache. However, I'm running into some errors in the admin interface: -------- Environment: Request Method: GET Request URL: [link]
about 15 hours ago
I would like the language selector to display each language in its own language. So for example English will always be displayed as 'English'. Even if the current language is French it will still be 'English' and not A...
I would like the language selector to display each language in its own language. So for example English will always be displayed as 'English'. Even if the current language is French it will still be 'English' and not Anglais. {% csrf_token %} {% for lang in LANGUAGES %} {{ lang.1 }} {% endfor %}
about 18 hours ago
In admin.py I have .............................. ......... class MovimentomagInline(admin.Tabul arInline): model=Movimentomag extra=3 save_on_top=True class MovimentoOperazioneOption(admi n.ModelAdmin): list_display = ('segno...
In admin.py I have .............................. ......... class MovimentomagInline(admin.Tabul arInline): model=Movimentomag extra=3 save_on_top=True class MovimentoOperazioneOption(admi n.ModelAdmin): list_display = ('segno', 'data_movimento', 'paziente','operatore') fields=(('segno','data_movimen to'),('paziente','operatore'))
about 19 hours ago