Re: Is GeoDjango Too Much For This?

2012-02-24 Thread Alex Mandel
On 02/23/2012 09:54 PM, kenneth gonsalves wrote: On Thu, 2012-02-23 at 17:13 -0800, DF wrote: I've been reading a bit about GeoDjango and it sounds intriguing. A colleague, though, suggested everything that can be done using GeoDjango is equally efficient utilizing the Google Maps API with JavaS

Re: Web App Systems Management Tool for Ubuntu Platform

2012-03-29 Thread Alex Mandel
On 03/29/2012 06:37 PM, Eduardo Bergavera wrote: > Hi Everyone! > > I would like to ask some guidance regarding anyone who may be > interested in developing web-based python app for systems management > in Ubuntu. The web-app acts as centralized interface to manage cloud > based or physical Ubuntu

Re: Part site under a dedicated domain

2011-10-02 Thread Alex Mandel
On 10/02/2011 04:12 PM, Michael Ludvig wrote: > Hi guys and gals, > > I maintain a Django-CMS website running on Django 1.2.5 with a couple of > pages - one for selling houses, one buying houses, etc. At the moment > it's all under one domain name (http://patmat.co.nz) with some other > domains be

Re: Django as a Standalone Desktop Application

2011-10-21 Thread Alex Mandel
On 10/21/2011 03:02 PM, Ivo Brodien wrote: > Hi, > >> Could you tell us more about the utility you want to create? It sounds like >> Django might not be the appropriate tool in this case. > > well it is quite simple. > > The user will have to provide some metadata for every week of the year. T

Re: Django as a Standalone Desktop Application

2011-10-22 Thread Alex Mandel
On 10/21/2011 07:35 PM, kenneth gonsalves wrote: > On Sat, 2011-10-22 at 00:02 +0200, Ivo Brodien wrote: >> I think with django this is an easy tast. >> >> This might loos like a typical Excel/VBA and maybe Word thing, but I >> don’t want to use non open source software for this and since I like >

Re: Django as a Standalone Desktop Application

2011-10-24 Thread Alex Mandel
On 10/24/2011 03:42 AM, Tom Evans wrote: > On Sun, Oct 23, 2011 at 2:32 AM, Alex Mandel > wrote: >> Also the best part of this design is that you can turn it into a web app >> at any time by simply opening a port on a machine to allow others to >> connect. >> >

Re: Accuracy of GeoIP?

2011-10-27 Thread Alex Mandel
You just need to go to the maxmind website to download it. GeoIP free data also comes from them but is slightly older and on their website you can choose country, city and regional datasets to use. Thanks, Alex On 10/27/2011 11:56 AM, Charles Cossé wrote: > Hello, I've been using GeoIP for a few

Re: Which IDE should I use for Django?

2011-12-19 Thread Alex Mandel
On 12/19/2011 07:42 AM, Masklinn wrote: > On 2011-12-19, at 16:30 , Andre Terra wrote: >> >> What do you mean by embedded Django interpreter? An instance of python >> running within Aptana? > > Django performs a bunch of setup which allow for easy import and manipulation > of the objects related

Re: Which IDE should I use for Django?

2011-12-19 Thread Alex Mandel
Code completion is subpar, actually one of the worst python editors for that because you have to pregenerate the lists. Enjoy, Alex On 12/19/2011 04:08 AM, Parisson wrote: > Eric has a bad logo but does everything you need. > It is written in Python / Qt and is far faster and lighter than PyCharm

Re: Which IDE should I use for Django?

2011-12-19 Thread Alex Mandel
On 12/19/2011 05:52 PM, kenneth gonsalves wrote: > On Tue, 2011-12-20 at 02:23 +1100, Alec Taylor wrote: >> I am testing each of the ones thus far recommended (even though I hate >> Eclipse with a vengeance :3). My results you'll find succeeding: [pun >> intended!] > > could you put the results i

Re: Which IDE should I use for Django?

2011-12-20 Thread Alex Mandel
On 12/20/2011 12:40 AM, Masklinn wrote: > On 2011-12-20, at 08:30 , Alex Mandel wrote: >> For the most part commercial editors are off the list too because many >> of them are more than $100 a license per year which is too expensive for >> a university lab of 20 people whe

Re: Which IDE should I use for Django?

2011-12-22 Thread Alex Mandel
On 12/20/2011 06:28 AM, Parisson wrote: On 20/12/2011 08:23, Alex Mandel wrote: Code completion is subpar, actually one of the worst python editors for that because you have to pregenerate the lists. Eric's completion is based on QScintilla and works fast here.. Do you know any compl

Re: Deployment and user libraries (builds on the Django tutorial)

2013-01-17 Thread Alex Mandel
On 01/17/2013 12:11 PM, Frederik T wrote: > I've worked my way through the Django tutorial successfully, up to > https://docs.djangoproject.com/en/dev/intro/reusable-apps/ which worked for > the development test server. > I have refactored out the polls application and turned it into a python >

Re: Using postgres Users as django users

2013-04-17 Thread Alex Mandel
It's possible but you may need to split out django and non-django into a front and back end. This sounds similar to phpmyadmin or phppgadmin I think the key to this is that django only be used to store the user and connection information for each database (And provide a web interface). When a

Re: Using Django and R in a production environment?

2013-04-24 Thread Alex Mandel
There is another large potential gotcha, R is very memory heavy. I do think the route of using Celery or other job management tools makes sense, especially if you can use R across multiple backend machines. Would celery mean one rpy2 per celery? You don't really want all your users using the sa

Re: Using SQL or not

2013-05-30 Thread Alex Mandel
Unless you have a specific need of a NoSQL feature the fact that you have many related tables seems a better use case for SQL relational database. Enjoy, Alex On 05/30/2013 08:42 AM, Avraham Serour wrote: can't see the image properly, too small, clicking on larger doesn't load and the expand

Re: postgresql 64 bit in python 32 bit

2013-06-03 Thread Alex Mandel
On 06/03/2013 10:23 AM, Kakar Arunachal Service wrote: Hi, I just uninstalled python 64 bit and reinstalled python 32 bit. So i have postgresql 64 bit in my system. Will it a problem later if i use 32 bit python in 64 bit postresql? Should be fine, Python psycopg2 sends SQL commands to postgre

Re: Are Web frameworks useful in mobile first world?

2013-08-05 Thread Alex Mandel
On 08/05/2013 06:19 AM, zweb wrote: > > Are web frameworks useful in mobile first world of today? > > With apps required to support multiple front ends including Mobile and Web, > is using a web framework like ROR or Django more of a liability. > > Would not a light weight rest framework be bet

Re: Django performance compared to other web frameworks

2013-08-21 Thread Alex Mandel
On 08/21/2013 10:10 AM, urs.beerli wrote: > Hi folks! > > I am pretty new to Django and what I have seen so far is very nice, I like > it a lot! But one of the most important things to me of a web framework is > the performance. If you take a look at: > http://www.techempower.com/benchmarks/#sec

Re: Geodjango and Kriging

2013-09-07 Thread Alex Mandel
On 09/06/2013 03:51 PM, Matthew Scotch wrote: > Hi, > > I am new to geodjango and was wondering if it has an API for kriging? > So far I have not been able to find anything. > Thanks, > Matthew > Not really, but you can tie into plenty of backends that give you kriging ability (Pass data from ge

Re: wsgi vs. debug server URL's

2013-11-12 Thread Alex Mandel
Actually you could modify the project settings.py or urls.py to enforce that url on the debug servers. This means that the project files will be different but the app files will be the same between dev and production. But that's really odd way of doing it, normally on a production server you would

Re: Python / Django slow ? Deciding my next technological stack

2015-02-24 Thread Alex Mandel
On 02/24/2015 03:30 PM, Benj wrote: > Hi, > i'm going to invest lots of time and energy in various web projects (mostly > community web sites), and want to pick up a language / framework and invest > heavily on it. > I've spent a lot of time evaluating the various options, and narrowed my > choi

Re: PostGis, GeoDjango. How to install a updated version?

2014-12-12 Thread Alex Mandel
On 12/12/2014 07:06 AM, Collin Anderson wrote: > Hi, > > What happens when you try? > > Collin > > On Wednesday, December 10, 2014 11:03:16 AM UTC-5, Bruno Messias wrote: >> >> >> Someone managed to install postgis 2.4 and gdal 1:11 on a Ubuntu >> distribution 14. I followed several tutorials.

Re: Unable to install django on ubuntu 12.04

2015-01-08 Thread Alex Mandel
On 01/08/2015 12:06 PM, nitin katyal wrote: > As per the Django installation guide, I have installed pip using "sudo > apt-get install python-pip". Pip got installed and upgraded successfully, > but when I was installing Django using "pip install django==1.7", the > following error appeared: >

Re: Best way to learn Django considering Python versions and etc.

2013-12-10 Thread Alex Mandel
On 12/10/2013 09:54 AM, Tom Evans wrote: > > It is slightly different to what I have described, Django has a > deprecation policy, features not pending deprecation in X.Y will work > in X.Y+1 and X.Y+2, features pending deprecation in X.Y will work in > X.Y+1 but not X.Y+2. This means that what co

Re: Connecting to a MS SQL server from django

2014-01-14 Thread Alex Mandel
On 01/14/2014 03:15 PM, Larry Martell wrote: > I am trying to connect to a MS SQL server from django on Linux using > Vernon Cole's django-mssql package > (https://bitbucket.org/vernondcole/django-mssql-ado-merge/src). > > When I first tried to connect it failed with: > > Exception Type: Database

Re: django with no relational db?

2014-01-21 Thread Alex Mandel
On 01/21/2014 06:56 PM, devash wrote: > > I am building an app with no relational DB. All data will be in flat files > now and nosql dbs in future. > > I plan to use django-tastypie for rest api and mostly pure python from > rest api code to connect to file system and non relational backend

Re: Honest feedback

2014-01-24 Thread Alex Mandel
On 01/24/2014 03:04 PM, Bobby Roberts wrote: > Hi group. I've been out if the django world for over four years. I am going > to rebrand and replatform away from classic asp. Don't laugh. Yes I know > it's sad. Without telling me how good django is, what has changed in the > last four year

Re: overlay esri shapefiles from database in googlemap

2014-01-28 Thread Alex Mandel
On 01/26/2014 07:07 PM, jenelyn refamonte wrote: > hello everyone,. i am developing dynamic web mapping application using > geodjango framework.. i already displayed a googlemap as my basemap. It is > for public users not in the admin interface,.. now, i want to > display/overlay my esri shapefi

Re: Need Help Moving Database to production server

2014-01-28 Thread Alex Mandel
On 01/28/2014 08:15 AM, Mark Phillips wrote: > On Mon, Jan 27, 2014 at 11:51 PM, Mike Dewhirst wrote: > >> On 28/01/2014 4:51pm, Mark Phillips wrote: >> >>> I have a django project running on my laptop. I have (finally) managed >>> to get it to work with apache on a production server. However, I s

Re: Programmers that work in Aptana from GitHub answer me

2014-02-15 Thread Alex Mandel
On 02/15/2014 11:59 AM, Dennis Lee Bieber wrote: > On Sat, 15 Feb 2014 09:30:53 -0800 (PST), ??? ??? > declaimed the following: > >> I need your help. Please. > > Then I suggest you find some group specific to Aptana... > > Based upon the Aptana web page, it is a product for

Re: Apache with mod_wsgi not serving static files

2014-02-21 Thread Alex Mandel
On 02/21/2014 04:00 PM, Bryan P wrote: > Hello all, > > My Django application is not serving my static files (CSS, JS) and keeps > returning a 404 error. I have set the STATIC_ROOT to the location where I > collected all my static files with manage.py and set an alias in my > VirtualHost. > >

Re: confused about sql in django

2014-03-04 Thread Alex Mandel
On 03/04/2014 12:08 PM, Robin Lery wrote: > Hello, > > I am really being confused. How to use sql in django? I found two: > 1. Performing raw queries. > 2.Executing custom SQL directly. > Do you have links for those? I know there is a the raw query mode of Django, and I'm guessing the other metho

Re: Pandas in Django

2014-03-08 Thread Alex Mandel
There is no reason to think you can't use Pandas or any other python library within Django. In your views.py or in a subfile that it references, import the library you want, manipulate any objects in django or from the filesystem(in this case I assume you've saved the csv somewhere django can see

Re: "Beginning Geo Django: Rich Gis Web Applications With Python" Where can I get the book?

2014-03-18 Thread Alex Mandel
Thats an interesting dilemma. I just looked around a no one has copies. The publisher says "The eBook version of this title will be available soon" http://www.springer.com/computer/book/978-1-4302-2532-4 But I have no idea how long it's said that. This appears to be the ISBN for the printed versi

Re: Managing translations on a team project

2014-03-24 Thread Alex Mandel
On 03/24/2014 03:24 PM, Tyler Wymer wrote: > We have finished translating our application into a second language, but > are having trouble finding a good solution for keeping this up to date > going forward. Currently we have just been sending the .po file to the > translator, but as we hope to

Re: Geodjango and Python 3.3

2014-03-26 Thread Alex Mandel
You might get more responses on the GeoDjango mailing list: geodja...@googlegroups.com I agree the basic libraries probably all work. Are you sure you used OSGeo4w with Python3? OSGeo4w ships 2.7.x, so unless the GDAL and GEOS wrappers also work with Python3 that sounds odd. pypi page makes it lo

Re: How transform specific geometry column using Django GIS GeoQuerySet

2014-03-26 Thread Alex Mandel
On 03/26/2014 06:28 AM, Shoaib Ijaz wrote: > Sorry i mistype queries > > Network.objects.transform(srid=3857).values('geometry', 'bbox') >> >> SELECT ST_Transform("tbl_network"."geometry", 3857), "tbl_network"."bbox" >> FROM "tbl_network" >> >> Network.objects.transform(srid=3857).values('bb

Re: How transform specific geometry column using Django GIS GeoQuerySet

2014-03-27 Thread Alex Mandel
On 03/27/2014 04:53 AM, Shoaib Ijaz wrote: > >> >> I am doing sql queries in django, the queries that i mentioned above are >> print queries of django > > > Network.objects.transform(srid=3857).values('geometry', 'bbox') > > *This is printed SQL query output of above django query * > > SE

Re: why does django user require create database privlages for testing

2014-04-23 Thread Alex Mandel
If you don't want to setup a test db with permissions for a test app, use sqlite. I can't see why you'd ever want to give your web app carte blanc permissions to run all over your db server. Seems to me "you create a test database as super user" is the same as changing to a db admin user, creating

Re: PostgreSQL, queries, speed

2014-06-16 Thread Alex Mandel
If you stick to stock python commands virtualenv shouldn't be involved at all and you can just point to the system python. Thanks, Alex On 06/16/2014 08:16 PM, Lachlan Musicman wrote: > Thanks Russ, appreciated. > > Out of interest, how do people use plpythonu in postgres when virtualenv'd? > >

Re: GeoDjango/PostGIS installation issues

2014-06-27 Thread Alex Mandel
On 06/27/2014 01:47 PM, Ben Dean wrote: > I'm stymied on installing GeoDjango with Postgres9.3 on Ubuntu. I've posted > the details here > , > > so any help would be appreciated and I can promise you all th

Re: GeoDjango/PostGIS installation issues

2014-06-27 Thread Alex Mandel
On 06/27/2014 02:13 PM, Alex Mandel wrote: > On 06/27/2014 01:47 PM, Ben Dean wrote: >> I'm stymied on installing GeoDjango with Postgres9.3 on Ubuntu. I've posted >> the details here >> <http://stackoverflow.com/questions/24459737/installing-geodjango-postg

Re: GeoDjango

2017-03-26 Thread Alex Mandel
I'll add that you could also use Geonode http://geonode.org/ which is a Django front-end to a Geoserver instance. I've also run Tilestache directly on GeoDjango tables stored in Postgis to generate TMS style services. Enjoy, Alex PS: GeoDjango has it's own mailing list. On 03/20/2017 01:05 AM,

Re: GeoDjango: strip z dimension; force 2D

2016-03-07 Thread Alex Mandel
1. There a GeoDjango sublist, better place to ask. 2. Strip out the Z when doing the database import, you don't say which db backend your're using. 2a. If you can't do it on import than do it with an update query. http://gis.stackexchange.com/questions/78142/how-can-i-strip-out-z-values-in-postgis

Re: Where to put wsgi code in Apache in Ubuntu?

2015-07-12 Thread Alex Mandel (wildintellect)
On ubuntu using vhosts, /etc/apache2/sites-available/ then run a2ensite to enable the conf you make, if you just toss the conf into default an apache reload is all you need. -Alex On Jul 12, 2015 3:56 PM, John  wrote:If your install of apache is httpd, /etc/httpd/If is apache2, /etc/apache2/Under