Re: django-facebookconnect

2009-06-26 Thread Alen Mujezinovic
with an option to facebook-login or django-login > > > (provided by django-registration) > > > 2) if the user chooses django-logineverything goes as normal for > > > django-registration > > > 3) if the user chooses facebook-login: facebook con

Re: About managing dependencies in a collaborative development team and good practices.

2012-02-23 Thread Alen Mujezinovic
Hi Santiago All the mentions of virtualenv and pip are good, but I want to throw in another suggestion that will make your life a lot easier when working in teams and lower the discrepancy between "development machine" and "live server": Vagrant [1]. In fact, we're now running *all* projects

Walking the template / Partial rendering

2011-12-09 Thread Alen Mujezinovic
Hi group I considered posting this to django-dev or opening a ticket but decided to erron the side of caution. I've been looking thoroughly through django's template code the last two daysbecause I'd like to render only parts of templates. Pseudocode:     tpl = Template("""        {% block somebloc

Re: Walking the template / Partial rendering

2011-12-09 Thread Alen Mujezinovic
Whoops. Editor ate the formatting. Here's the correctly formatted version: https://gist.github.com/d7b50c7449dfd09725ea -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/dj

Re: Walking the template / Partial rendering

2011-12-09 Thread Alen Mujezinovic
Hey Tom I've had a look through previous tickets if something similar came up and also looked at the link you posted. It's the right direction, but not quite what I'm trying. Pulling out a single block from a template and rendering is easy. It breaks and throws an `AttributeError` though as soo

Re: Walking the template / Partial rendering

2011-12-09 Thread Alen Mujezinovic
Also, here's the actual code that is used by the mixin to assemble the response: https://gist.github.com/70beb521546d59deb207 Compare this to what is going on in `ExtendsNode.render`: https://code.djangoproject.com/browser/django/trunk/django/template/loader_tags.py#L103 The code in the gist

Re: rendering CSV in response; need a little help

2011-12-09 Thread Alen Mujezinovic
Hey Here's what I use to add CSV export to the admin: https://gist.github.com/46e6d19e6e08faefb476 -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/3dDsN7e

Re: Which IDE should I use for Django?

2011-12-21 Thread Alen Mujezinovic
PyDev. You don't need to use Aptana to get PyDev. I dislike Aptana but really like PyDev. It's very feature rich and supports quite everything that I need * Syntax / Error highlighting * Virtual environments * Documentation * Autocompletion * Jump-to-file/definition If you do use PyDev, don't