Opened 7 years ago

Closed 7 years ago

#8037 closed (wontfix)

Ajax simplify the development of Django

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

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 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by qingfeng

comment:1 Changed 7 years ago by qingfeng

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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 Changed 7 years ago by russellm

  • Resolution set to wontfix
  • Status changed from new to closed

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