geo django and mysql

2008-03-31 Thread Greg_IAP
Hi everybody, I'm working on a image processing pipeline for french astrophysicians using web services through django. i'm using mysql database with innodb storage engine.I need to use geo django because i must be able to locate images taken by telescops in the celestial sphere (with

using "select_related" .Does it works?

2007-11-19 Thread Greg_IAP
Hello, i have 3 classes. class Image(models.Model): name = models.CharField(max_length = 20,blank=True) instrument = models.ForeignKey(Instrument,null=True,blank= True,db_column='instrument_id') channel = models.ForeignKey(Channel,null=True,blank=

Re: launching python scripts through django template form

2007-11-15 Thread Greg_IAP
Hi I just want to launch a python script from my web page done with django. 2 ways to do this-> by a form included in "mytemplate.html" for example, like this: With this solution a press button is created and the browser wants to open the url: ".../spica/cgi-bin/ingestion.py" by pressing

Re: launching python scripts through django template form

2007-11-15 Thread Greg_IAP
Hi i just want to launch a python script from my web page done with django: --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com

launching python scripts through django template form

2007-11-15 Thread Greg_IAP
Could anyone answer my question of yesterday? my problem is the action of the form (to launch python script from my web page) which can be matched by urlpattern in urls.py --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

launch python script from template by a form

2007-11-14 Thread Greg_IAP
Hello, I have just a really simple question: i just want to add to a template I created in my app, a form like this one: Chemin my first aim is to launch a python script (ingestion.py) which his argument is the handling result of the input type="text" value of my form The problem is that

geodjango and MySQL

2007-10-25 Thread Greg_IAP
does django works with spatial queries(PolygonField and multipolygonField) when applications are developped to work with a MySQL database? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

write my own css

2007-10-25 Thread Greg_IAP
Hello, I tried to create my own css and to link my applications to this one by creating a directory called media in my project. i indicated to settings.py of my project to see this directory by editing ADMIN_MEDIA_PREFIX = '/media/' In this directory i created css img and js directory as the tree

Using an existing database of astronomic images

2007-10-02 Thread Greg_IAP
HI, yesterday i send a message which asks of using an existing database with Django. Thanks to the guy who has answered me, but i have to explain a little bit more my problem. I 'm in charge of developping an astronomic images and metadata database for scientists in mysql, composed by 9 tables

using a existing database

2007-10-02 Thread Greg_IAP
HI, yesterday i send a message which asks of using an existing database with Django. Thanks to the guy who has answered me, but i have to explain a little bit more my problem. I 'm in charge of developping an astronomic images and metadata database for scientists in mysql, composed by 9 tables

Connexion to an existing database

2007-10-01 Thread Greg_IAP
Hi everybody, i tried to understand if i could use django to do some modifications to an existing database...in vain. I understand that i must rewrite the structure of the database through django to produce a database model and to permit django to understand my database structure through classes