Opened 17 years ago
Closed 17 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)
Change History (3)
by , 17 years ago
| Attachment: | ajaxtag.py added |
|---|
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → 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.
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 %}