Opened 16 years ago

Closed 16 years ago

#8037 closed (wontfix)

Ajax simplify the development of Django

Reported by: QingFeng Owned by: nobody
Component: Tools Version: dev
Severity: Keywords: ajax templatetag
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

this a django templatetag
source: http://gist.github.com/3247

Example 1:
{% ajax %}
link_to_remote
url:/dashboard/serverstatus/
update:#server_status_body
data:maxcount=10
{% endajax %}

Example 2:
{% ajax %}
link_to_remote

url:/dashboard/server/
update:#server

{% endajax %}

Attachments (1)

ajaxtag.py (1.5 KB ) - added by QingFeng 16 years ago.

Download all attachments as: .zip

Change History (3)

by QingFeng, 16 years ago

Attachment: ajaxtag.py added

comment:1 by QingFeng, 16 years ago

this a django templatetag

source: http://gist.github.com/3247

Example 1:

{% ajax %}
link_to_remote 
  url:/dashboard/serverstatus/
  update:#server_status_body
  data:maxcount=10
{% endajax %}

Example 2:

{% ajax %}
link_to_remote 
	url:/dashboard/server/
	update:#server
{% endajax %}

comment:2 by Russell Keith-Magee, 16 years ago

Resolution: wontfix
Status: newclosed

Django intends to remain agnostic with regards to Javascript toolkits; it appears that this patch produces Prototype/Scriptaculous specific code. If you want to maintain this as an external prototype support library, feel free, but we're not going to integrate it into the trunk.

Note: See TracTickets for help on using tickets.
Back to Top