0
votes
1answer
23 views

How can i serve pdf download after 10 seconds in django view

I have the generic class based view and where when the user click on file name i open the detail page which shows some text of the File like this class DetailView(DetailView): template_name ...
0
votes
0answers
13 views

unique_together is not displaying errors on form

I am using the unique_togther Meta option to make sure duplicate permissions cannot be created. The unique_togther does raise a validation error when you create a permission within the same group with ...
0
votes
1answer
23 views

User.DoesNotExist - catch exception value

I am trying to write a confirm function to confirm the registration by a user. Simple logic: A user registers and gets an email. During registration I create hash value to make sure all users have ...
1
vote
0answers
22 views

Can a django formset that dynamically adds fields have persistent data?

I am making a formset in python/django and need to dynamically add more fields to a formset as a button is clicked. The form I'm working on is for my school asking students who they would like to ...
0
votes
0answers
15 views

Django signal database change on template

I'm building a GPS Tracking System using Django, i should have a grid on my template that display real time information of cars (position,vitesse, temperature...). GPS send data to Postgres DataBase ...
0
votes
3answers
44 views

syncdb is not creating tables again?

I am stuck with this issue: I had some migration problems and I tried many times and on the way, I deleted migrations and tried again and even deleted one table in db. there is no data in db, so I ...
2
votes
1answer
31 views

Django app runs via runserver but errors via mod_wsgi (NoReverseMatch error)

I have an interesting situation: I have a django app as follows: [Tintin@BlisteringBarnacles DjangoProj]$ ls -l total 20 drwxrwxr-x 4 Tintin Tintin 4096 Jul 31 18:50 app_1 -rw-r--r-- 1 Tintin Tintin ...
2
votes
2answers
36 views

Running Django 1.5 and Django 1.3 on the same server

I have two websites hosted on the same machine. Both of them are developed using Django 1.3. Now I need to move one site (website1) to the latest version of Django i.e. 1.5 Is it possible to do ...
0
votes
2answers
21 views

How to query by unique attribute with Django-Rest-Framework (Many To Many)

I have a simple many to many relationship outlined below: class Client(models.Model): """ just stores a Client hostname now """ hostname = models.CharField(max_length=250, null=False, ...
0
votes
1answer
27 views

django admin save_model not saving model changes

This is my admin.py: class TransactionInfoAdmin(admin.ModelAdmin): search_fields=['transactionId','subscriptionInfo__customerNumber'] save_on_top = False def ...
0
votes
0answers
15 views

Error: “unsupported locale setting” on Python / OSX

I've got the following error trying to run a local Python scriot on OSX Lion 10.7: You are using the base settings file. You are advised to create a local.py file (based on local_sample.py) with your ...
0
votes
1answer
17 views

Access Django DB from Task

Is it possible to update the DB from a Django App, from an Other python Script. The plan is to fetch Sensor Data over an Tcp/ip Connection, Write it to the DB and the Django app can Display the ...
0
votes
3answers
23 views

django-why this form is always invalid

i have created a form with minimal fields(for testing) , but it never enters form.is_valid() Here is the minimal code in the models.py from django.db import models class sample(models.Model): ...
0
votes
0answers
15 views

Integrate django app with EBS payment gateway

I am using django and designed a website, and now i got to implement payment gateway functionality. Actually how to integrate a django app with payment gateways ? Whether there are any packages ...
1
vote
3answers
52 views

Django Form Post

Im trying to get POST method working in Python DJango. But couldn't succeed with CSRF implementation. Here is what I in my Views.py def showTime(request): t = ...

1 2 3 4 5 1498
15 30 50 per page