Another tutorial:
http://linfiniti.com/2009/11/geodjango-tutorial/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+un
Fixed it.
It turned out to be a problem with how the django project templates
were written. Both of the projects that I was experimenting with were
using hardcorded href values, instead of using a url template tag.
hardcoded example:
Per-geometry styles
url template tag example:
Per-geometry
sty
I added the WSGI logging middleware to write to the Apache log as
described in:
http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Tracking_Request_and_Response
and yes it appears that my SCRIPT_NAME environment variable is being
automatically set (see excerpts below). So I guess it is Djan
I am trying to use Apache and mod_wsgi to serve multiple django
sites. The django sites are served up fine when at the root URL, but
when served from a sub-URL the portion of the the URL consumed by
Apache disappears from any links created in the django site pages.
>From reading throught the WSGI
Malcolm,
As you guessed, it was the default ordering that was causing the
problem for me. After removing the default ordering from the model,
distinct() works as expected.
I still find it strange that distinct().count() was not affected by
the model's default ordering, while the actual list of
Following up on my last post... After using distinct(), the count() is
what I expect, but when I iterate through the queryset results there
are more results that I expect, and the count of the queryset changes
(see example below).
--
def get_unique_vehicles
I seem to be encountering the same or similar issue. The distinct()
method seems to have no affect on my queryset.
I am using PostgreSQL, and the django.contrib.gis.db models object.
ipdb> p TruckLog.objects.values('vehicleid')
[{'vehicleid': 80533}, {'vehicleid': 80480}, {'vehicleid': 80437},
{
I have an app that provides some custom SQL statements for populating the
test database (located in /particles/sql/particle.sql). The app's database
table (particles_particle) is populated correctly when I run the test case
for the app (i.e. python manage.py test particles) but the database tabl
I have noticed that running unit tests for my own apps can interfere with the
testing of some of the django internal apps (auth, sessions, sites, etc.).
I have been using ipdb to debug and to help write views and tests, and it
appears that importing the ipdb module (import ipdb) causes many of t
I've been experimenting with the admin interface for a
MultiPolygonField in Django 1.0. (A very useful bit of
functionality!) The OpenLayers map interface loads up correctly, and
I can add and edit multiple polygons, but I can't seem to delete any
of the individual polygons. (The best I can see
-started-1-of-4/
http://blog.tylerickson.net/2008/06/geodjango-on-slicehost-getting-started-1-of-4/
- Tyler
Tyler Erickson-3 wrote:
>
>
> Alex,
>
> I would be interested in hearing if your remaining issues with the
> GeoDjango install get resolved.
>
> Following the W
Alex,
I would be interested in hearing if your remaining issues with the
GeoDjango install get resolved.
Following the WebFaction forum post, it looks like there is another
user with a successful GeoDjango install (overcoming a GEOS config
problem).
http://forum.webfaction.com/viewtopic.php?id=9
Anyone have experience/opinions on hosting GeoDjango with PostGIS on
WebFaction or Slicehost (or any other of the DjangoFriendly hosts)?
I'm wondering if WebFaction shared account allows you enough freedom
to install all the geodjango dependencies...
--~--~-~--~~~---~-
That worked. Thanks!
Darryl Ross wrote:
> I believe you need to go to the 'settings' page and enter a name and
> email address first.
>
> Cheers
> -D
>
> Tyler Erickson wrote:
> > What do I need to do to edit the following page?
> > http://code.djangopr
What do I need to do to edit the following page?
http://code.djangoproject.com/wiki/GeoDjango
It lets me enter edit mode and preview the changes, but when I try to
submit the change I get:
"500 Internal Server Error (Submission rejected as potential spam)"
--~--~-~--~~~---
I have been trying to install GeoDjango for the first time following
the instructions on: http://code.djangoproject.com/wiki/GeoDjangoInstall
The install seems to go fine, but I get an error when running the
test_gdal.run() test that is testing the closing of a polygon object
(output included at e
16 matches
Mail list logo