Re: Deployment of apps with 3rd party code

2009-01-19 Thread Ariel Mauricio Nunez Gomez
brary across servers and decrease requirements during deployment, but I > not aware of what downsides there might be. > I would consider this a good reference: http://svn.pinaxproject.com/pinax/trunk/ Take a special look at the modifications done to manage.py Ariel. --~--~-~--~-

Re: Geodjango POST and WKT

2009-01-23 Thread Ariel Mauricio Nunez Gomez
Adonis: >geometria = GEOSGeometry('POLYGON(('%s))' % coords) Have you tried this? Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: Favorite Front-End Dev Environment?

2009-01-26 Thread Ariel Mauricio Nunez Gomez
Joshua, take a look at pinaxproject.com it may suit your needs. Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegro

Re: Geodjango polygon object

2009-01-26 Thread Ariel Mauricio Nunez Gomez
ons.objects.all() > coordArray = list(e.geometry for e in fromDB) > You have to call the different methods on the geometry field not on your model. coordArray = list(e.geometry.wkt for e in polygons.objects.all()) coordArray = list(e.geometry.kml for

Re: Upload ZIP-File into Database

2009-02-09 Thread Ariel Mauricio Nunez Gomez
I did that once and had no problem customizing GalleryUpload for my needs. Try start writing some code and get back to us if it fails. http://code.google.com/p/django-photologue/source/browse/trunk/photologue/models.py#194 Ariel. --~--~-~--~~~---~--~~ You

Re: Creating KML files for use in Google Maps

2009-03-15 Thread Ariel Mauricio Nunez Gomez
> > > view > > > > def generateKml(request): > > > > locations = Location.objects.all().values('name','lat','longt') > > > > result= render_to_response('locations.kml',{ > > 'locations': locations > > }) > > > > return HttpResponse(result,mimetype='Content-Type:appl

Re: Django critter helps us code at the speed of light.

2009-03-17 Thread Ariel Mauricio Nunez Gomez
I already have my critter magic wallpaper on 3 out of my 4 desktops. He is truly a helpful little fellow. Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: mp3 converstion

2009-03-31 Thread Ariel Mauricio Nunez Gomez
a website built with Django. Unfortunately neither you, nor us have enough information to solve your problem. You should contact whoever is developing/maintaining the site. That person should know enough details to either make it work or ask spe

Re: Can I use Components and Classes in Django for views/controllers?

2009-04-01 Thread Ariel Mauricio Nunez Gomez
Yes, Class Based Views are nice, here is a fresh blog post about it: http://www.screeley.com/entries/2009/apr/01/class-based-views-and-reusable-apps/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Newbie: How to create different person models that share a profile model?

2007-08-24 Thread Ariel Mauricio Nunez Gomez
to edit the fields of a Profile instance inline, not the other > way around. > > Does that make sense? If so, any suggestions on how to do what I want, > or how to rethink the problem? Yes, it is intendend to work that way. I hope this helps you. Ariel. --~--~-~--~~--

Re: Newbie: How to create different person models that share a profile model?

2007-08-26 Thread Ariel Mauricio Nunez Gomez
I can't think of any "clean solutions" right now. Dirty one's include adding a Role class, or applying the constraints on the database. If you come up with something, please let me know. Ariel. On 8/25/07, Ed Hagen <[EMAIL PROTECTED]> wrote: > > > > That

Re: Newbie: How to create different person models that share a profile model?

2007-08-27 Thread Ariel Mauricio Nunez Gomez
Thanks a lot for pointing that out. My apologies. So, for other readers of the thread: class UserProfile(models.Model): user = models.ForeignKey(User, unique=True, edit_inline=models.TABULAR, num_in_admin=1,min_num_in_admin=1, max_num_in_admin=1,num_extra_on_change=0) : Makes the profile

Admin search does not work in my models

2007-08-29 Thread Ariel Mauricio Nunez Gomez
ness/?e=1 and when I search in user: http://moteserver/admin/auth/user/?q=ariel If I apply a query in the url, like this: http://localhost/admin/test/business/?q=testing It displays everythin and changes to, http://localhost/admin/test/business/?e=1 Does anybody know what can be happening? --~--~

Re: admin site and parent/child relationship

2007-08-31 Thread Ariel Mauricio Nunez Gomez
Have you looked at the admin filter option, it's not exactly waht you're asking for, but could do the job? In the admin view (change_list for call ) if you append: ?client=MyClient to the url, the data get's filtered. --~--~-~--~~~---~--~~ You received this messag

Re: Django-countries

2007-09-01 Thread Ariel Mauricio Nunez Gomez
://code.google.com/p/django-countries/ ) on the list? I stumbled upon > this app and wanted to touch base with the developer about a couple of > things. If you're the developer (or know who is), would you mind sending me > a note off-list with your email? > > Thanks, &

Debugging ?e=1 on admin search

2007-09-09 Thread Ariel Mauricio Nunez Gomez
;?e=1" shows up in the url. What's the best way to debug that kind of errors? Thanks in advance, Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

Re: setting up a new django site (mod_python)

2008-01-14 Thread Ariel Mauricio Nunez Gomez
n suggests. Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [

Re: setting up a new django site (mod_python)

2008-01-14 Thread Ariel Mauricio Nunez Gomez
etails on your server setup, is to add the following line before the tag. PyhtonPath "['/home/www/django..com/htdocs']+sys.path" Assuming your project is named "mysite". (Hint: check if there exists the /home/www/django.XXX.com/htdo

Re: Loading fixtures from views

2008-01-22 Thread Ariel Mauricio Nunez Gomez
raised. Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: transaction.commit_manually

2008-02-13 Thread Ariel Mauricio Nunez Gomez
I hit the same wall when writing a loaddata variant to load json on geodjango. I couldn't find a solution either. :( I hope someone can give us light in this regard. Ariel. On Feb 12, 2008 5:34 PM, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > Are people using the transactio

Re: "Presales" questions

2008-02-17 Thread Ariel Mauricio Nunez Gomez
Phoenix, I suggest you take a look at Jeff Croft's post [1], it is supposed to be for non-programmers, but I guess it also applies to "I don't want to learn another language"-progammer. That said, I am pretty sure you'll start loving python once you go start walking the django path. [1] http://

Re: django.newforms and AJAX

2008-03-28 Thread Ariel Mauricio Nunez Gomez
David, Good luck on what you are trying to achieve. Jump in, I think your list is just enough for a proof of concept. We are waiting eagerly to try what you come up with. Dive in. Regards, Ariel --~--~-~--~~~---~--~~ You received this message because you are

Re: Django en Dreahost

2008-04-16 Thread Ariel Mauricio Nunez Gomez
nk you won't have much trouble getting around the french based docs and config options. (It was my case) Regards, Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Re: Multi DB question

2008-04-17 Thread Ariel Mauricio Nunez Gomez
dels to use the forum app tables and handle them via the admin or scripts. Regards, Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-

[nf-admin] Accessing field initial values on change_form.html

2008-04-27 Thread Ariel Mauricio Nunez Gomez
quires me to know the field names ahead of time. Thanks in advance, Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@goo

Re: Django learning management application

2008-05-14 Thread Ariel Mauricio Nunez Gomez
idea, I can post some details, I did it once. Moodle quizz module is _very_ complete, I wish we had something similar written by django. BTW, there was a django_quizz app post like 8 months ago on this list, search the archives. Regards, Ariel

Re: Installing GeoDjango help

2008-05-22 Thread Ariel Mauricio Nunez Gomez
If you have ubuntu you can: sudo apt-get install mercurial hg clone http://geodjango.org/hg/where2.0/ cd where2.0/ubuntu more ubuntu_install.txt (Follow the instructions from step 5) Regards, Ariel. --~--~-~--~~~---~--~~ You received this message because you are

Re: Installing GeoDjango help

2008-05-22 Thread Ariel Mauricio Nunez Gomez
BTW, you still have to follow the postgis database and user creation parts. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To u

Re: click download, click install, go! no....

2008-06-01 Thread Ariel Mauricio Nunez Gomez
http://s3.amazonaws.com/instant.django/django.exe (No I am not a spambot and no, it is not a fake ) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: Thanks!!!!!!!!!!!!!!!!!

2008-06-21 Thread Ariel Mauricio Nunez Gomez
+1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more opti

Re: Django as front-end for php- and zope2-based apps?

2008-06-29 Thread Ariel Mauricio Nunez Gomez
to moodle functions. However I wouldn't recommend the django-app as proxy approach you suggest, better to write some matching moodle themes and css for django apps and use something like nginx to do the routing. Best, Ariel. On Sun, Jun 29, 2008 at 11:31 AM, spacetaxi <[EMAIL PROTECTED]&

Re: Django deployment à lá Capistrano

2007-09-11 Thread Ariel Mauricio Nunez Gomez
Just some names: There is a genre called Jazz Fusion ( http://en.wikipedia.org/wiki/Jazz_fusion) Here's a very long list of names that belong to that category: http://en.wikipedia.org/wiki/List_of_jazz_fusion_artists --~--~-~--~~~---~--~~ You received this message

Re: GeoDjango : Error in admin site with geom fields

2007-09-16 Thread Ariel Mauricio Nunez Gomez
Did you have a previous geos installation?? Maybe you have some old .so's that are being linked instead of the new ones. Ariel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Re: disguising a django app as php?

2007-09-28 Thread Ariel Mauricio Nunez Gomez
Web 2.8: About what would omat have decided? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, sen

Re: can't install...

2007-10-15 Thread Ariel Mauricio Nunez Gomez
Phwaxmon, the painless way to get django working is to follow cjl advice: 1. Uninstall python 2. http://www.instantdjango.com/ Note: After you have played a little, you are going to have to go again and try to install django with postgres, apache and all the crew, but hopefully you'll have more kn

[gis] RESTful Geodjango

2007-10-20 Thread Ariel Mauricio Nunez Gomez
Is it possible/planned to use django-rest-api [1]<http://code.google.com/p/django-rest-interface/>in geodjango [2] <http://code.djangoproject.com/wiki/GeoDjango> ? Ariel [1] http://code.google.com/p/django-rest-interface/ [2] http://code.djangoproject.com/wi

loaddata without pk

2007-10-20 Thread Ariel Mauricio Nunez Gomez
Is it possible to use loaddata without a pk field and let database set the proper value? Ariel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: loaddata without pk

2007-10-20 Thread Ariel Mauricio Nunez Gomez
Thanks Malcolm, I just use it to load data for a single model that does not have any relation to others. I generate the data.json with a script but I don't (know)/(want to set) the pk keys in advance. Should I modify loaddata to look for the last pk at the start and fill the gaps? Ariel

Re: RESTful Geodjango

2007-10-20 Thread Ariel Mauricio Nunez Gomez
Thanks Justin, I'll try later and let you know. Ariel. On 10/20/07, Justin Bronn <[EMAIL PROTECTED]> wrote: > > > I quickly glanced at the django-rest-interface code and I don't see > any reason why it shouldn't work. There are no plans to combine yet, > tho

Re: RESTful Geodjango

2007-10-20 Thread Ariel Mauricio Nunez Gomez
That restapi is as easy to configure as promised. The address /xml/mymodel now presents an xml list that looks like: XX-83-297 2007-07-27 14:59:18 POINT (31.00892404 - 82.71686560) 71 1 3 That NoField type, is it ok? Ariel PS: Thanks Andreas, and thanks to the geodjango

Re: loaddata without pk

2007-10-22 Thread Ariel Mauricio Nunez Gomez
Thanks for your comments Russell, I was refering to my own django install, I agree that it's not by any chance a solution for the general problem. Do you think it would be adequate to report the issue in trac? Regards, Ariel. --~--~-~--~~~---~--~~ You rec

Re: loaddata without pk

2007-10-22 Thread Ariel Mauricio Nunez Gomez
7;re using would be the "correct" place to solve this. I totally forgot about the serializers. Thanks for your advice, It's time to start coding my simpleload.py Regards, Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed

How to model postal address in django ???

2012-03-30 Thread Ariel Isaac Romero Cartaya
google maps How hope you can help me. Any help would be appreciated. Regards, Ariel -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this g

Re: How to model postal address in django ???

2012-04-02 Thread Ariel Isaac Romero Cartaya
okups a day with google. > > Cheers, > > -m > > > > > On 31 March 2012 03:54, Ariel Isaac Romero Cartaya > wrote: >> >> Hi everybody, is there any model in Django to represent postal >> address, I mean is there already models like Countries, prov

I need a django application to embed a chat javascript in admin site

2012-05-23 Thread Ariel Isaac Romero Cartaya
, Ariel -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options,

<    1   2