Django is an open source Web 2.0 application framework, written in Python. Its primary goal is to ease the creation of complex database-driven websites.

learn more… | top users | synonyms | django jobs

0
votes
0answers
5 views

query the data and render to display

models.py class ReportPerson(models.Model): report = models.ForeignKey(Report) name = models.CharField('Name', max_length=100) def __unicode__(self): return self.name views.py ...
0
votes
2answers
11 views

loop with in a loop django templates

HI i have a loop in my django *template* which displays the data from database {% for i in prosize %} <li><a class="order" id="{{i.option1}}" ...
1
vote
0answers
4 views

How to add login and registration form from django-registration app to own modal box(in base.html)?

How to add login and registration form from django-registration app to own modal box(in base.html)? All templates for this app I have in /templates/registration/ base.html <div ...
0
votes
0answers
5 views

Latitude/longitude widget for pointfield?

Is there a widget for PointField as separate latitude/longitude inputs? Like SplitDateTimeWidget for DateTimeField.
0
votes
1answer
16 views

Import error with django_cups

I am using django_cups in my project, and I am getting import error in the models line 4. Here is the models.py file - ...
0
votes
2answers
27 views

Pay Per Request in Django

Is it possible to implement this in django: In a video site, for every video a user want to watch he/she must pay a fee before watching the video. If it's possible, what's the best way to implement ...
0
votes
0answers
5 views

Django-celery-email - adding date to sent message

I would like to add to database a date after a list of e-mails has been sent with Django celery email. I was trying to add task in celery that checks if the task of sending mails has ended, but I ...
0
votes
0answers
7 views

django-compressor + Amazon S3 = 500 Error

Having a real problem getting my django app to work with the combination of django-compress and boto to use amazon s3 to serve my compressed JS & CSS files on Heroku. My app runs fine in debug ...
1
vote
0answers
7 views

Celery-Django: Celery vs django management commands

I work for a travel company where we need to send periodic mails to our teams . Since now I have been using django management commands and running them using crontabs. I was reading about what celery ...
1
vote
0answers
4 views

How do you set “Content-Type” when saving to S3 using django-storages with S3boto backend?

I am using django-storages with s3boto as a backend. I have one bucket with two folders - one for static and one for media. I achieve this using django-s3-folder-storage. As well as saving to S3 ...
0
votes
1answer
11 views

south datamigrate add Sites as defaults

I'm using south for migration, I need to add Sites to the Databse but can't find the right syntax for finding them. from django.contrib.sites.models import Site ... def forwards(self, orm): ...
-6
votes
0answers
21 views

Do I have a threading issue or something else?

I have some weird behavior in a Django model form. If I put down a break (I am using an IDE) everything is saved just fine. With no breaks set, I'll get an error
0
votes
1answer
50 views

python 'module' object is not callable

I'm trying to add form to my django view. The problem is, I cannot declare class. That is the problem: Addform.py: from django import forms class AddSubjectForm(forms.Form): def __init__(self): ...
2
votes
1answer
21 views

Django defaulting to HTTPS

I have a working django install with django-sslify and it correctly HTTPS my urls but with inconsistent behaviour. For example, if I type socialspark.spuro.org it takes me to an HTTP page. If I type ...
0
votes
0answers
13 views

Django-CKEditor Image Upload

I've currently installed Django-CKEditor and have my own custom toolbar. I'm struggling to find how to enable image uploading. When clicking the Image button, I can only upload via URL. I know that, ...

1 2 3 4 5 3529
15 30 50 per page