Re: DecimalField and SQL Server

2013-12-08 Thread Derrick Jackson
Thanks Vernon and Michael. I've done a little more research and at first I thought the problem was in django_pyodbc. However, running the following "%0.2f" % 3 from the python console and it yields '2.00' and I don't understand why the digit prior to the decimal

Django for in-house data

2013-12-08 Thread giuliano . bertoletti
Hello, I'm using Django to have people in my company access our database. Since the application is not meant for public use, I was wondering how to best struture it. The admin framework seems to be well suited for manipulating tables via web, while views (in my understanding) seem better for

world_worldborder.geom does not exist

2013-12-08 Thread gregory grey
Following https://docs.djangoproject.com/en/dev/ref/contrib/gis/ , I've created the application world. But the admin page wold not show me the actual map, instead i get the attached result. Attempt to admin/world/worldborder/ end with following error: >>>ProgrammingError at /admin/world/worldbor

Re: DecimalField and SQL Server

2013-12-08 Thread Tom Lockhart
On 2013-12-08, at 7:18 AM, Derrick Jackson wrote: > Thanks Vernon and Michael. > > I've done a little more research and at first I thought the problem was in > django_pyodbc. However, running the following "%0.2f" % 3 > from the python console and it yields '2

Re: DecimalField and SQL Server

2013-12-08 Thread Derrick Jackson
Tom, Thanks for the quick response and explanation. Using adodbapi is not an option in the environment we run in, but I am checking with the django_pyodbc developers to see why decimal values are converted to float prior to saving to the database. On Sunday, December 8, 2013 11:16:56 AM UTC-

Why does the startproject command open a file instead of creating project folders

2013-12-08 Thread Gideon Bar
Hello I am new to Django and followed this tutorial https://docs.djangoproject.com/en/1.6/ref/django-admin/#django-admin-startproject I am using windows 7 64 bit and the startproject command on open a file instead of creating project folders How can I create a project from the command line?

Re: Django for in-house data

2013-12-08 Thread Mike Dewhirst
On 8/12/2013 9:15pm, giuliano.bertole...@gmail.com wrote: Hello, I'm using Django to have people in my company access our database. Since the application is not meant for public use, I was wondering how to best struture it. The admin framework seems to be well suited for manipulating tables via w

Re: Django for in-house data

2013-12-08 Thread Lachlan Musicman
To be fair, I think the best measure is the technical literacy of your users. The Admin interface is powerful, but they could also accidentally screw everything up. Views (can) remove that opportunity L. On 9 December 2013 08:06, Mike Dewhirst wrote: > On 8/12/2013 9:15pm, giuliano.bertole...@g

Re: Why does the startproject command open a file instead of creating project folders

2013-12-08 Thread Ivan Ramirez
I had the exact problem today when going through the first part. This worked for me: python “C:\Program Files\Anaconda\Scripts\django-admin.py” startproject mysite -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: Setting up Django on GoDaddy Deluxe Shared Hosting

2013-12-08 Thread Kapil Chandra
Just wanted to say that this seemed to work for getting Flask running on godaddy too (skipping the django specific steps of course) with two differences. In dispatch.py instead of: from django.core.handlers.wsgi import WSGIHandler WSGIServer(WSGIHandler()).run() use: from yourapp import app WS

Re: Django for in-house data

2013-12-08 Thread llanitedave
It wasn't in Django, but I previously developed a very large and complex database and gave administrative access to just a few too many people. They had the best of intentions -- no sabotage involved, but they still managed to screw up the records royally. Lesson learned -- NEVER give blanket