What's the best way to auto convert a model field values before it is rendered?

2016-04-26 Thread Vince
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

Re: How to run cdn link in a local setup without screwed up hyperlink?

2013-04-13 Thread Vince Fulco
roups/opt_out. >> >> >> > > -- > 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/unsubscri

Any Django Developers in Santa Cruz, CA

2013-01-14 Thread vince
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

Did the django tutorial change recently?

2009-10-04 Thread Vince
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

How can I use database view in Django

2009-06-24 Thread vince
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

Re: Django setup problem when executing syncdb

2009-04-21 Thread Vince
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,

redirect to results

2009-01-14 Thread Vince
his, Can i pass parameters to another function that calls the second return render_to_response ? Thanks in advance Vince --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

include

2008-12-11 Thread Vince
g 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 How can I show the animated .gif ?? Thanks a lot in advance

Question from django beginner

2008-12-02 Thread Vince
'; return true; } //--> Main DEMO server Subiendo fichero...<br/ > Fichero (zip): So: 2. Is there any built-in opton in Django (0.97 version)

Re: How can I re-use the filtering and sorting from the admin pages in my view?

2007-07-31 Thread vince
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

include statements for non-dynamic pages

2007-05-28 Thread vince
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