Deploy on windows server 2008 and IIS

2018-05-11 Thread Majid Hojati
Hi, I followed this http://blog.mattwoodward.com/2016/07/running-django-application-on-windows.html to deploy django on windows server 2008 and IIS but at the last step it returns 500 error, it says wfastcgi.py unexpectedly exit. What Other options do I have to fix this problem, I am on python 3

Deploy on windows IIS

2018-05-11 Thread Majid Hojati
Hi, I have faced a problem while deploying django on windows server 2008 with IIS I followed this http://blog.mattwoodward.com/2016/07/running-django-application-on-windows.html and it returns unexpectedly exited error. I am using python 3.6 and the development pythons server runs with no probl

Re: Deploy on windows IIS

2018-05-11 Thread Majid Hojati
unning > on Windows Server 2012. After wrestling with IIS for just a bit, I decided > to just use Apache instead. > > > > *From:* django...@googlegroups.com [mailto: > django...@googlegroups.com ] *On Behalf Of *Majid Hojati > *Sent:* Friday, May 11, 2018 12:52 PM &

Re: Deploy on windows IIS

2018-05-12 Thread Majid Hojati
; > https://httpd.apache.org/docs/2.4/platform/windows.html > > Apache has different flavors for Windows. We’re either using ApacheHaus > or Apache Lounge. > > > > *From:* django...@googlegroups.com [mailto: > django...@googlegroups.com ] *On Behalf Of *Majid Hojati > *Se

Re: Deploy on windows IIS

2018-05-12 Thread Majid Hojati
ache has different flavors for Windows. We’re either using ApacheHaus > or Apache Lounge. > > > > *From:* django...@googlegroups.com [mailto: > django...@googlegroups.com ] *On Behalf Of *Majid Hojati > *Sent:* Friday, May 11, 2018 1:33 PM > *To:* Django users > *Subject:*

Field.choices get all items as json

2018-05-17 Thread Majid Hojati
Hi, I have a Field.choices in my model. lets say it is: YEAR_IN_SCHOOL_CHOICES = ( > ('FR', 'Freshman'), > ('SO', 'Sophomore'), > ('JR', 'Junior'), > ('SR', 'Senior'), > ) I can access them using this method Model. YEAR_IN_SCHOOL_CHOICES but how can I convert it to a json then I can send them

Re: Field.choices get all items as json

2018-05-18 Thread Majid Hojati
27;, 'Freshman'), > ('SO', 'Sophomore'), > ('JR', 'Junior'), > ('SR', 'Senior'), > ) > > serialized_year_choices = json.dumps(Model.YEAR_IN_SCHOOL_CHOICES) > > > > > &g

geodjango wrong srid when it saves feature

2018-05-23 Thread Majid Hojati
Hi, I tried to read data from a shape file and save them into database. well here is my code lyr = ds[0] for feat in lyr: geom_t = feat.geom.transform(wgs84, clone=True) print(geom_t.wkt) print(feat.geom.wkt) name ='' Twoway='1' data = { 'name': name, '

Re: geodjango wrong srid when it saves feature

2018-05-23 Thread Majid Hojati
e LineString from django.contrib.gis.geos to > store Geo objects on the database > > Hope it helps. > > *[]'s* > *Daniel Germano Travieso* > *Engenharia da Computação Turma: 013* > *Unicamp* > > On Wed, May 23, 2018 at 11:54 AM, Majid Hojati > wrote: > >

geodjango raster field get pixel value

2018-10-06 Thread Majid Hojati
Hi, Is there any function to get raster value under a point using geodjango?or we must perform a raw query? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to djan

Re: geodjango raster field get pixel value

2018-10-07 Thread Majid Hojati
rote: > >> i don't know, i hava a problem can you solve this . >> >> On Sat, 6 Oct 2018 at 10:09, Majid Hojati > >> wrote: >> >>> [image: Boxbe] <https://www.boxbe.com/overview> This message is >>> eligible for Automatic Cleanup! (a