Questions tagged [django-1.3]

Django 1.3 is a version of the Django framework, released in March 2011. Please only use this tag if your question relates specifically to this version.

Django 1.3 is a version of Django framework, released in March 2011. Please only use this tag if your question relates specifically to this version.

See the release notes for more details.

135 questions
0
votes
1 answer

issue in loading static contents in django1.3+mod_wsgi+apache2

I am facing problem with static files(Django1.3) when tried to deploy it in my local apache server(apache2+mod_wsgi), the problem only for the static contents other parts ok[its worked in the devlopment server]. My project now in a folder…
Jisson
  • 3,566
  • 8
  • 38
  • 71
0
votes
2 answers

What's the cleanest way to add arbitrary data to ModelForm?

Imagine we're developing a message system, and each Message has a foreign key for sender. We're using ModelForms, and there is a MessageForm that infers its fields from Message. Of course, we don't want the user to be able to spoof sender by…
Dan Abramov
  • 264,556
  • 84
  • 409
  • 511
0
votes
1 answer

How to upgrade Django 1.3.1 to 1.3.7 on Ubuntu in Docker

I have an old django project and I built it in docker for the development environment, django 1.3.1 is installed. (Python version is 2.7 setting in docker-compose) Is there any way to upgrade to django 1.3.7? Thanks for advance. I tried followings…
Doyoun
  • 89
  • 1
  • 11
0
votes
0 answers

Is there a way debug all progress of the django app?

I have a Django project and some problems that some data save in DB automatically but can not find specific causes so, trying to trace all progress with DEBUG level logging and save the logs into a file temporarily. (I don't use any log in the…
Doyoun
  • 89
  • 1
  • 11
0
votes
2 answers

how call a python function from Jquery script in django template

am new to django and jquery,I am searching for a 'hello world' sample for jquery using django1.3, Where hello world is returned as a string /json from the server to the client when user press a button or at loading of the page. Note: I am using…
Jisson
  • 3,566
  • 8
  • 38
  • 71
0
votes
1 answer

update foreignkey items from django shell

Following is the models.py: class UserProfile(models.Model): user = models.OneToOneField(User) belongs_to_user_category = models.ForeignKey(UserCustomCategory, null=True, blank=True) class UserHistory(models.Model): date_time =…
whatf
  • 6,378
  • 14
  • 49
  • 78
0
votes
1 answer

Django 1.3 removing images

Django 1.3 do not removes file which was deleted from database. I'm not found how to set Django remove deleted files. Is it possible? If so, how?
I159
  • 29,741
  • 31
  • 97
  • 132
0
votes
1 answer

use of built in forms and views like PasswordChangeForm in django1.3

I am new to django,In django1.3 how can I use the Built-in forms like PasswordChangeForm ,PasswordResetForm etc and the same using built-in views.Can any one share some liks or codes ,ideas,am absolutely .new to Django,Thanks in advance
Jisson
  • 3,566
  • 8
  • 38
  • 71
0
votes
1 answer

django1.3 static file problem

hi, I am new to django,I doing user authentication for my project,Well its works properly. I have created a folder named 'static' in my projects root folder[now am in local devlopment] and necessary editing in setting.py , My first page[which…
Jisson
  • 3,566
  • 8
  • 38
  • 71
0
votes
1 answer

user authentication problem in django

I am new in python and django.I am trying for a secure user authentication using django framework.I create a login.html page in [templates/user].And if login success user leads to user/ContactSuccess.html. ContactSuccess.html…
Jisson
  • 3,566
  • 8
  • 38
  • 71
0
votes
1 answer

django static files weird behaviour

in my settings.py I have: import os SITE_ROOT = os.path.realpath(os.path.dirname(__file__)) # ... # STATIC_ROOT = os.path.join(SITE_ROOT, 'static') # ... # STATIC_URL = '/static/' in my urls.py I have: urlpatterns = patterns('', url(r'^',…
Darwin Tech
  • 18,449
  • 38
  • 112
  • 187
0
votes
2 answers

a custom pagination problem in template in django 1.3

I'm making a gallery where i have two models. like below class Gallery(models.Model): name = models.CharField(max_length=200) pub_date = models.DateTimeField('date published', auto_now_add=True) slug_name =…
themunna
  • 47
  • 1
  • 6
0
votes
3 answers

django foreign key complex query

I know this is dumb but... I have two model classes class Gallery(models.Model): name = models.CharField(max_length=200) pub_date = models.DateTimeField('date published', auto_now_add=True) def __unicode__(self): return…
themunna
  • 47
  • 1
  • 6
0
votes
1 answer

from django form uploading a image in windows development server

I have a model like this class Ask(models.Model): name = models.CharField(max_length=500) designation = models.CharField(max_length=200, blank=True) email = models.EmailField() phone = models.CharField(max_length=20, blank=True) …
themunna
  • 47
  • 1
  • 6
0
votes
1 answer

Installation error in with byteflow-0.7

I am installing byteflow-0.7 on python 2.6.5 with django 1.3 on windows7(64-bits). Database used is MySQL 5.0.51b on wamp 2.0 server. I installed all the prerequisites well and have run the syncdb command. That run well and the database was created…
Sandip Agarwal
  • 1,890
  • 5
  • 28
  • 42
1 2 3
8 9