Re: Python 2.6 Decompile --- I lost my views.py but have the views.pyc

2009-12-17 Thread Fabian Ezequiel Gallina
2009/12/17 Andrew : > Thanks guys for all the commentsIm on ubuntu on eclipse and there > was no local history alas > > Thems the breaks when you omit to submit ;-) ... to source control... > > I used UnPyc to disassemble the .pyc and I am now rewriting the python > using the assembly as a

Re: Django IDE

2010-07-18 Thread Fabian Ezequiel Gallina
2010/7/18 Roald de Vries : > > Comparison of VIM and Emacs (what I've read): > - Emacs is monolithic (does everything, for example includes shell), VIM is > unix style (does one thing well, why reproduce the shell?) Wrong, all it's features are in separated Emacs' Lisp modules which can be activat

Re: Value Error in Pyfacebook

2010-08-08 Thread Fabian Ezequiel Gallina
2010/8/8 Pankaj Singh : > problem got solved > > 1292 if params.get('expires'): > 1293 self.session_key_expires = int(params['expires']) > > I've just changed it to: > > 1292 if params.get('expires'): > > 1293 try: > 1294 self.session_key_expi

Re: Generate Admin Interface web pages statically

2010-03-04 Thread Fabian Ezequiel Gallina
2010/3/4 Alejandro Recarey : > Hello all! > > I'm new to Django, and loving it! The documentation is fantastic, and > I've had no problems so far. > That's great to hear. > The admin interface does 95% of what I need, but I've gone really deep > into the documentation, and the remaining 5% eludes

Re: maultiple .js files for debug and one minimized .js for production

2011-11-08 Thread Fabian Ezequiel Gallina
2011/11/8 Andres Reyes > I've been using django-compressor and totally recommend it > > > https://github.com/mintchaos/django_compressor > > > I second that, works like charm and I really like the way it solved the thing with a templatetag instead of having to define file groups on settings. Re

python.el + django = python-django.el

2012-12-03 Thread Fabian Ezequiel Gallina
I just pushed to github an Emacs package to work with Django projects. It follows the magit-status buffer filosophy a bit. I has a tight integration with management commands and simple/intuitive bindings to do stuff you'd normally use (like grep an app's directory, open the directory with dired, o

Re: Long url parameter in GET request locks python

2013-01-30 Thread Fabian Ezequiel Gallina
2013/1/30 Shawn H : > I posted this question yesterdat at stack overflow, but I'm wondering if > this is a bug. I have a url that accepts one text parameter, allows spaces, > and calls a very simple view that checks if there are objects with a project > name that matches the text parameter value.

Re: Any good books for learning django?

2013-02-08 Thread Fabian Ezequiel Gallina
2013/2/8 Tom Evans : > On Fri, Feb 8, 2013 at 10:13 AM, vijay shanker wrote: >> do u have the pdf ? >> will u share it at some place (or please mail it to me deont...@gmail.com) > > Please don't use this list to arrange or ask others to pirate books. > The author of any django book almost certainl

Re: mutual imports - how to do it?

2011-04-18 Thread Fabian Ezequiel Gallina
2011/4/18 Kenneth Gonsalves : > hi, > > I have two models.py files in two applications. Say, products.models and > incident.models. > > In incident I can do: from products.models import Product > but in products if I do: > from incident.import Something - this fails and django says cannot > import

Override a static file.

2011-04-28 Thread Fabian Ezequiel Gallina
Hey folks, I'm wondering if there is any preferred way to override staticfiles. The use case is that I modified some grapelli static file and I would like my version of it to be the final one after collectstatic is run. Regards, -- Fabián E. Gallina http://www.anue.biz -- You received this

Re: Model query whit n OR

2011-05-13 Thread Fabian Ezequiel Gallina
2011/5/13 Martin Quinta : > i need a serch in db  users > (users have  city, age,sex.. etc) > > but i need serch users from many citys. > > somthing like this... >  from django.db.models import Q > (http://docs.djangoproject.com/en/dev/topics/db/queries/#complex- > lookups-with-q-objects) > users.o

Re: __unicode__() addition not working in basic poll application.

2011-05-16 Thread Fabian Ezequiel Gallina
2011/5/16 AJ : > I think you are getting the poll object back. You need to specify the method > for your model class(es) > > def __unicode__(self): > > return "%s %s %s" % (self.poll_name) > > That is wrong, you have a placeholder for three args and just pass one to the string formatting.

Re: Social Networking basics? -Raj

2011-06-23 Thread Fabian Ezequiel Gallina
2011/6/23 Russell Keith-Magee : > On Fri, Jun 24, 2011 at 12:49 AM, Cal Leeming [Simplicity Media Ltd] > wrote: >> >> >> On Thu, Jun 23, 2011 at 5:46 PM, Shawn Milochik wrote: >>> >>> On 06/23/2011 12:36 PM, Cal Leeming [Simplicity Media Ltd] wrote: The perfect link to refer these users

Re: modelformset not iterable

2011-01-24 Thread Fabian Ezequiel Gallina
2011/1/24 Axel Bock : > forget it. it was formset.forms ... > I *SWEAR* there is another example just with "for form in formset" ... > > thanks anyway :) > Axel. > Probably in the documentation for the development version :) Regards, -- Fabián E. Gallina http://www.from-the-cloud.com -- You r