I need to store and retrieve temperatures in a model. I'd like to store
all the values in celsius. However some users prefer to view the value in
fahrenheit.
What is the recommended way to setup a model like this?
Perhaps manually convert the values in the view and on save?
Or is it possible
--
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/9G7j9fF-sVI/unsubscribe?hl=en
> .
> To unsubscribe from this group an
Looking to connect with individuals living "over the hill" who are
interested in Django development. I have some opportunities that require
local talent. Thanking you all in advance.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view th
A couple months ago I was working through the django tutorials and
ended up having to take a break for a while. I believe they were on
the djangoproject website. However, I can't seem to find the tutorial
I was working on before, which started with pages that could display
the time based on what
I saw the former question in stackoverflow "can i use a database view
as a model in django"[http://stackoverflow.com/questions/507795/can-i-
use-a-database-view-as-a-model-in-django] and try it in my app,but
that's not work.I create a view named "vi_topics" manually and it had
"id" column。But I a
In ubuntu, you'll need to install mysqldb package for python:
sudo apt-get install python-mysqldb
test by entering python interactive mode and importing the package
without errors:
$ python
$ import MySQLdb
case matters.
On Mar 10, 5:09 am, Karen Tracey wrote:
> On Tue, Mar 10, 2009 at 1:54
user wants to, once he sees that the zip
has been correctly processed (by clicking at the link)
How am I supossed to implement this, Can i pass parameters to another
function that calls the second return render_to_response ?
Thanks in advance
Vince
--~--~-~--~~~---
line. Without the target, as
soon as it finishes uploading goes to POST and executes the django
view.
I would like to know if this approach is valid, I mean if I can
combine calling a frametarget and going to my django view after the
process has been completed. if not H
t;submitBtn" class="sbtn"
value="Enviar" /><\/label>';
document.getElementById('upload_form').style.visibility =
'visible';
return true;
}
//-->
Main DEMO server
Subiendo fichero...
Fichero (zip):
I asked about this same issue a while back because this is a feature
that I think would be really handy. Not sure how feasible it would be
however.
I put something together after reviewing of the html source of the
admin pages. I did *not* look at the python source (too complicated
for me :). It
I am trying to learn Django to convert a site where I use php + python
cgi scripts. For consistent layout i would use php's include statement
for headers and footers on the old site. It is mentioned the Django
book that something similar exists for Django. Suppose i want to
create a home page (ind
11 matches
Mail list logo