That's also already done, check
https://github.com/django-extensions/django-extensions/blob/master/django_extensions/management/commands/show_urls.py,
it can be easily converted to JSON (I have a branch that does it, but
it's not up-to-date).
I also have the urls module in JavaScript already, but
I don't really know how to approach this issue the best way, so I'm
just going to be direct, I'd love to see Django provide support for
django.core.urlresolvers.reverse (at least) on the client (in
JavaScript).
I'm pretty sure all who have needed to make AJAX queries have dealt
with the issue of
tremely helpful to you. Just that having a tag that
> clears the context sounds fishy to me...
>
> All the best,
>
> - Gabriel
>
> On Jun 7, 10:52 am, Marco Louro wrote:
>
>
>
> > I'd prefer extending the {% include %} tag actually, but didn't of
&g
t: {% csrf_token %} will fail.
On Jun 7, 5:35 pm, Łukasz Rekucki wrote:
> On 7 June 2010 18:13, Jacob Kaplan-Moss wrote:> On Mon,
> Jun 7, 2010 at 5:03 AM, Marco Louro wrote:
>
> >> I'd like to propose adding a tag that includes a template with clean
> >>
Hi all,
I'd like to propose adding a tag that includes a template with clean
context, but can accept parameters that will be added to that
context.
The use-cases are plenty, but I've been using it mostly with forms, as
it helps to keep the template code DRY and very customizable. We could
use the
Hey Alex,
Not sure if this is the right place, but I guess you're the right
person to ask..
Will Multi-BD be flexible enough that it will allow to choose a DB at
runtime, depending on something like the user or the domain and not
tied to models at all? From what I've read that's not possible rig
Hi,
The easiest way to explain this is with code I guess:
http://dpaste.com/104502/
These are the models for a contact management application. Basicly I
have a "Contact Model", which is used to hold details for both the
"Person" and "Company" Models. On the "Contact Model" I have some
generic re