Hi There,
I am heading well now, but have still some confusing things here..
this is my html file, where i want to get a success message after the
form is submitted:
__________________________________________________________________
<form action="/yfapp/./" method="get">
{% load forms %}
{% if submitted %}
{{ success }}
{% else %}
<p> </p>
{% endif %}
Clear cache: <a title="Cache leeren"><button> Cache leeren </button></
a>
</form>
---------------------------------------------------------------------------------------------------------------------
this is my def in templatetags folder:
________________________________________
success = 'Cache erfolgreich geleert'
def submitted(self):
if request.method == 'GET':
return True
register.tag('submitted', submitted)
________________________________________
BUT i dont see anything after submission of the form. where is my
mistake, can you please help ?,
thanks in advance..
Doni
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.