overlay esri shapefiles from database in googlemap

2014-01-26 Thread jenelyn refamonte
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 shapefiles stored in my postgis databsase to the googlemap..

Re: Problems Setting Up wsgi and Apache

2014-01-26 Thread Fred Stluka
Mark, I'm doing this fine with Django 1.4.2 and Python 2.7.3. My wsgi.py file looks like: import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() My Apache config looks like: # WSGI setup, for use by Django and other Python webapps # See notes in: # -

Re: johnny.backends.memcached.MemcachedCache': 'module' object has no attribute 'CacheClass' ?????

2014-01-26 Thread Oak McIlwain
Did you end up solving this issue? On Sunday, November 10, 2013 2:53:26 AM UTC+8, vittorio wrote: > > In my settings.py I have the following code: > . > CACHES = { > 'default': { > 'BACKEND': 'johnny.backends.memcached.MemcachedCache', > #

Prefetch object (django 1.7)

2014-01-26 Thread Marcin Szamotulski
Hello, I have a model class Post(models.Model): ... authors = models.ManyToManyField('accounts.User', through='PostAuthor', related_name='authors_posts') class PostAuthor(models.Model): user = models.ForeignKey('accounts.User') post = models.ForeignKey(Post) ... How

Problems Setting Up wsgi and Apache

2014-01-26 Thread Mark Phillips
I have my first django app running using runserver. I am now trying to get Apache to serve my site. I have read the django docs and quite a few other references on the Internet, but I cannot get Apache to do anything with my django site. And no error message. I am running django 1.6 in a virtual

Re: Error related to googlebot?

2014-01-26 Thread Stefano Probst
Hi, have you try it with "open a Page like Google" ( https://support.google.com/webmasters/answer/158587 )? -- 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

AttributeError:'TaggableManager' object has no attribute 'primary_key'

2014-01-26 Thread vinoth kumar renganathan
Hello everyone. i just added "tags = TaggableManager" in my models.py file. So when i initiated to run python manage.py schemamigration myapp --initialit shows below error. I search a lot to solve this but can't. can anyone please help me out of this problem. File "manage.py", line 10, in

Re: Writing your first Django app, part 2 - Customize the admin look and feel

2014-01-26 Thread Ankur Mishra
Hi Tim, If you are using TEMPLATE_DIRS = [os.path.join(BASE_DIR, ’templates’)], template directory should be under mysite (same level as manage.py). Of course you can choose a different path. If you look into settings.py you will be able to figure out that BASE_DIR is the topmost level of

Re: Problems Adding Django South Tool

2014-01-26 Thread Brandon Foster
(note: I can type *./manage.py* instead of *python* *manage.py* because I changed the mode for the *manage.py* file by doing *chmod +x manage.py* to make it executable. Also, I didn't type the dollar sign $, that only indicates the command prompt) For me, I realized I had typed the following