cannot set GeometryProxy with value of type

2011-12-14 Thread Antony
Hi, I am simply trying the following, outerWallPolygon = SpatialFeatures.objects.all() print "outerWallPolygon: ",outerWallPolygon[0].geometry and get this error. cannot set GeometryProxy with value of type: I believe I have everything set up correctly, the Geomanager, the GIS libraries in my

Test using different database

2013-07-26 Thread Antony
Hi, I have two databases on my settings file. One is sqlite and the other is postgis. It is a big project so some developers use sqllite and a few are using postgis. Now, when I try ./manage.py test command, I get the following, -

Setting Up Django on Vista and Creating a Database

2008-11-10 Thread John Antony
I am currently using Vista OS I have installed Python in the path D:\Python26\ and extracted the tarred file downloaded from www.djangoprojects.com ie "Django-1.0.tar.gz" in the path D:\Python26\Django-1.0\Django-1.0 I am however unable to intall Django on typing the following command in command p

Re: Setting Up Django on Vista and Creating a Database

2008-11-12 Thread John Antony
o-admin.py' is not recognized as an internal or external command, operable program or batch file. what sholud i do now On Nov 11, 6:19 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Nov 11, 2008 at 1:40 AM, John Antony <[EMAIL PROTECTED]> wrote

Re: Setting Up Django on Vista and Creating a Database

2008-11-13 Thread John Antony
> then, when i create an app or a project, i do this instead: > >            python C:\Python25\Lib\site-packages\django\bin\django- > admin.py startproject djangoapps > > On Nov 12, 7:40 pm, John Antony <[EMAIL PROTECTED]> wrote: > > > > > I have now used all your su

Re: Setting Up Django on Vista and Creating a Database

2008-11-17 Thread John Antony
", ".join(map(repr, available_backends)), e_user) django.core.exceptions.ImproperlyConfigured: 'MySQL' isn't an available database backend. Available options are: 'dummy', 'mysql', 'oracle', 'postgresql', 'post gresql_psycopg2

Re: Setting Up Django on Vista and Creating a Database

2008-11-18 Thread John Antony
n > app, you must also install a library that bridges Python and the > database. > > (I apologize in advance if you've already done so). > > ---Peter > > On 11/17/08, Karen Tracey <[EMAIL PROTECTED]> wrote: > > > > > On Mon, Nov 17, 2008 at 3:13 AM,

django-socketio fails - even in example project - appreciate a clue

2014-08-03 Thread Antony Gelberg
an/customer-web/django/example_project] antony (socketio) $ python /home/antony/virtualenvs/env1/lib/python2.7/site-packages/django _socketio/example_project/manage.py runserver_socketio SocketIOServer running on 127.0.0.1:9000 FAILED to start flash policy server: [Errno 13] Permission denied:

formfield_for_foreignkey: kwargs is empty?

2013-12-11 Thread Antony Seedhouse
I'm trying to use formfield_for_foreignkey to filter the dropdown of a ModelAdmin with Django 1.6 on Python 2.7.6, following https://docs.djangoproject.com/en/1.6/ref/contrib/admin/ class CupAdmin(admin.ModelAdmin): ... # hide inactive distributions def formfield_for_foreignkey(self

Updating django database

2018-05-29 Thread Albin Antony
Hello guys, Sorry about the above no subject mail I am getting a json string(json_string) from frontend. How can we update the django database in views.py. Below is my models.py. models.py class Patient(models.Model): patient_id = models.CharField(primary_key=True, max_length=200) patient

Re: Updating django database

2018-06-02 Thread Albin Antony
age. > 2 Validate as necessary > 3 Update : > for field, value in data.items(): > setattr(instance, field, value) > >instance.save() > > Assuming that instances is the Patient record to be updated. > > I hope this helps.

Re: Updating django database

2018-06-02 Thread Albin Antony
Can the first be done if there is a relation between the models? On Sat, Jun 2, 2018 at 7:49 PM, Melvyn Sopacua wrote: > On zaterdag 2 juni 2018 15:12:08 CEST Albin Antony wrote: > > For updating multiple models at the same time, Should we create multiple > > instances? >

Seeking Internship or Entry-Level Opportunity as a Django Developer

2024-09-17 Thread Kabaki Antony
Hello, I hope this message finds you well. My name is Kabaki Antony, and I am a passionate web developer with hands-on experience in Django. I’m reaching out to express my interest in any available internship or entry-level positions within the community, where I can contribute my skills