Re: Django Data Visualization

2013-12-13 Thread Odagi
Not related to Django but maybe you can take a look at this visualization tools http://datavisualization.ch/tools/selected-tools/ Good luck. On Friday, December 13, 2013 8:14:44 AM UTC-3, +Emmanuel wrote: > > I am looking at creating a Django data visualization app, an idea that > closely

How to avoid URLField adding the trailing slash?

2013-04-22 Thread Odagi
Django URLField https://docs.djangoproject.com/en/1.5/ref/forms/fields/#urlfield likes to add a trailing slash at the end of the user input, forcing all URLs to be stored with the extra character, this is wrong. How can I stop this behavior and save URLs as submitted by users? Thanks. --

Re: A generic 'search' framework for forms?

2013-03-05 Thread Odagi
Maybe this Django app can help you http://haystacksearch.org/ It's basically a wrapper abobe a search backend. I'd also like to recomend you http://www.elasticsearch.org/ Hope helps, cheers. On Tuesday, March 5, 2013 11:41:13 AM UTC-3, Subodh Nijsure wrote: > > I have lot of forms in my

Re: CommonMiddleware doubt

2013-02-25 Thread Odagi
Thanks for your answer. I made my own research and seem to be OK to remove trailing slashes, Google do it in some of their sites ;) The recommendation is: 1. choose one option for canonical URLs option a. http://www.domain.com/resource option b.http://www.domain.com/resource/ 2. The

CommonMiddleware doubt

2013-02-23 Thread Odagi
Hello, according to https://docs.djangoproject.com/en/dev/ref/settings/#append-slash, using CommonMiddleware and APPEND_SLASH=True, if the request URL does not match any of the patterns in the

Problem configuring Django 1.5b2 with PostGIS 2.0

2012-12-28 Thread Odagi
Hi, I have been struggling for two days to get a GeoDjango/PostGIS project started and I'll appreciate any help. Thanks == My project == Two virtual machines: Machine 1: Running Django 1.5b2 Machine 2: Running a geospatial DB server (postgresql-server-dev-9.1, geos-3.3.5, proj-4.8.0,

Re: Django community, is it active?

2012-12-19 Thread Odagi
In the last 24 hs 10 tickets have been modified in the Django Track system: https://code.djangoproject.com/query?status=assigned=new=reopened=1=changetime and 10 people have replied your email. IMHO, that's an active community for me. On Tuesday, December 18, 2012 6:36:42 PM UTC-3, Glyn

Re: Django gracefully shutdown

2012-12-08 Thread Odagi
Thank you for all comments, hints and suggestions. I'll dive a bit more in uWSGI signals and documentations. Gunicorn seems to be a good option too, thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web

Django gracefully shutdown

2012-12-07 Thread Odagi
Hello! After lot of work I'm ready to deploy my site on production. I'll use Nginx with uWSGI or fastCGI (not sure yet), and my doubt is how can I shutdown my production Django app gracefully (for make changes for example). Of course I can kill django-python-fcgi processes and restart

Re: Query with GeoDjango

2012-06-30 Thread Odagi
It's working! Thanks a lot. Is There a problem with mixing regular models fields with geomodels ones? The single underscore is correct: > https://docs.djangoproject.com/en/dev/ref/contrib/gis/geoquerysets/#distance-lte > > But, you need to use a `objects = GeoManager()` on the Restaurants

Query with GeoDjango

2012-06-30 Thread Odagi
Hello all. I'm wondering how to resolve this problem with a GeoDjango.This are my models: from django.db import models from django.contrib.gis.db import models as geomodels from django.contrib.gis.geos import Point from django.contrib.gis.measure import D class Place(geomodels.Model): name

Problem with GaoDjango models

2011-10-24 Thread Odagi
Hello all. I'm playing with geodjango and have some doubts. I'll really appreciate any comment and suggestion. This is my problem. First, I've defined this (abstract) class: from django.contrib.gis.db import models from django.contrib.gis.geos import * class LocatableModel(models.Model):

Re: search like google

2010-06-06 Thread Odagi
On Jun 6, 4:46 am, Vasil Vangelovski wrote: > See haystackhttp://haystacksearch.org/ > Thanks! That's what I'm looking for! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

search like google

2010-06-06 Thread Odagi
attention, Odagi -- 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+unsubscr...@googlegroups.com. For more opti

Re: One2One vs. Foreign Key unique

2010-05-16 Thread Odagi
Thanks a lot! On May 16, 10:28 pm, Rolando Espinoza La Fuente <dark...@gmail.com> wrote: > On Sun, May 16, 2010 at 6:41 PM, Odagi <fcmira...@gmail.com> wrote: > > Hello users, I cannot realize the difference between the different > > ways of extending a m

One2One vs. Foreign Key unique

2010-05-16 Thread Odagi
Hello users, I cannot realize the difference between the different ways of extending a model. Suppose we have Place and Restaurant Models (a Restaurant is an extension of a Place). I know 3 different ways of define the data model: 1. Multi-table inheritance: class Place(models.Model): ... class