0
votes
1answer
17 views

Floats, Decimals, Prices, and partial quantities

While the problem in this particular instance deals with Django and Python, I imagine this problem has shown up elsewhere as well. Float values have a precision problem, and when used for currency ...
0
votes
1answer
11 views

Django how to delete from ManyToManyField with extra field?

In my django app I have models set up similar to these models on the django site - Extra fields on many-to-many relationships. Further down the page, I read The remove() method is disabled for ...
0
votes
1answer
20 views

django views.py to call another python script

I'm new to Django. Please help me with the below. I have a User form who provides URL1 and URL2.. These URLs need to be passed to another Python script[validation.py] which will do the Validation to ...
2
votes
1answer
22 views

How to let users reference their uploaded files in a CharField?

I've created a website in django, which mostly utilises a few simple apps to let a small team of users add events, manage a page displaying uploaded files etc. The most complex part is that each user ...
0
votes
1answer
15 views

Google Cloud SQL rejecting my query

I've been running a Django application on my local machine and am trying to push it to appengine. One of the queries I was making before that never caused any trouble was: ALTER TABLE Records ADD ...
0
votes
1answer
17 views

Django Userena - Correctly override default django app templates?

I've tried the directions at link for replacing the default app templates with templates specific to my website. Specifically, I've set up the following file structure: project_specific_app ...
1
vote
1answer
30 views

Django getting encoding error only on command line

I have a script that reads an XML file and writes it into the Database. When I run it through the browser (call it via a view) it works fine, but when I created a Command for it (./manage.py ...
0
votes
1answer
35 views

(Django tutorial) importing 'views' from 'polls' app - syntax error PyCharm

Is it incorrect to use: from [app name] import views when you're inside that app? I'm following the tutorial from the Django documentation website; and everything is working; however, I'm getting ...
-2
votes
0answers
23 views

where to do changes in code if i want to add label in dashboard using django [closed]

I am new to Openstack and the concept of web development in Django.now am learning on it.I am a bit lost in finding how to add label in the dashboard and where to make necessary changes in the code ...
0
votes
1answer
35 views

How to recognize user login when log in comes from cookie?

In our project we give the users points for every day they visit the site. The issue is that the user doesn't always log in in an explicit way (e.g. submitting login form), but often when he comes ...
0
votes
0answers
29 views

Dillema with UpdateView in Django

I'm begining to create website in django. Generally UpdateView is correct but if I'll edit this form and I'll choose some subject('zajecia') I want to automatically add special value into field with ...
-1
votes
1answer
23 views

How to add multiple paragraphs to a variable in Javascript dynamically? Actually I'm getting those paragraphs from the view

document.getElementById('id_comment_133').value = "Great job using the customer’s name during the initial greeting! This not only showed good communication between the sales team members, but also ...
-3
votes
1answer
41 views

Django 1.5, images are not displayed, static files

I'm a fresher in Django 1.5 and I have some problems with images. I have images in my folder (C:\Users\Neitrosha\PycharmProjects\ecomstore\static\images\products) There are two folders - 'thumbnails' ...
1
vote
1answer
31 views

No traceback for manage.py runserver

Weird problem. I have a Django site that I run in two ways: Through apache/wsgi on :80 normally With python manage.py runserver on :8000 when testing Through wsgi everything works fine, but using ...
0
votes
2answers
45 views

How to fix Django admin look?

The admin of my Django application looks like shown below. Obviously, some stylesheets have been lost and/or corrupted. Questions: Which stylesheets are used to render the Django admin in the ...

1 2 3 4 5 1413
15 30 50 per page