Hi...
For PyLucid i made a simple cache middleware [1] simmilar to Django per-site
cache middleware [2]. But i doesn't vary on Cookies and don't cache cookies. I
simply cache only the response content.
Of course: This doesn't solve the problem if "csrfmiddlewaretoken" in content.
Here some p
users/browse_thread/thread/cbef429d014c1ad9/
--
Mfg.
Jens Diemer
http://www.jensdiemer.de
--
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubs
So you can use TEMPLATE_STRING_IF_INVALID, but it's excluded from django admin
;)
--
Mfg.
Jens Diemer
http://www.jensdiemer.de
--
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To post to this group, send em
<http://www.pylucid.org/permalink/333/1a1-create-a-pylucid-environment-with-pylucid-boot>
--
Mfg.
Jens Diemer
http://www.jensdiemer.de
--
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To post to this group, send ema
= re.sub('[^a-zA-Z0-9]', '', str(token.decode('ascii',
'ignore')))
if token == "":
# In case the cookie has been truncated to nothing at some point.
return _get_new_csrf_key()
---
.
Jens Diemer
http://www.jensdiemer.de
--
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to
django-developer
led login. Also if the form is not valid.
--
Mfg.
Jens Diemer
http://www.jensdiemer.de
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving e
arning)
django.utils.deprecation.RemovedInDjango20Warning: SubfieldBase has been
deprecated. Use Field.from_db_value instead.
Maybe i miss something to handle warnings with tests, but didn't find something
about warnings here:
https://docs.djangoproject.com/en/dev/internals/contributing/writing-
o remove the first two examples and leave only the
six.with_metaclass() example?!?
I made also a ticket/pull request for this:
* https://code.djangoproject.com/ticket/24992
* https://github.com/django/django/pull/4873
On Tuesday, June 16, 2015 at 12:30:05 PM UTC-4, Jens
rying to write a portable third-party field.
Thanks for you suggestion.
I "moved" it to django-user list ;)
--
Mfg.
Jens Diemer
http://www.jensdiemer.de
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to D
10 matches
Mail list logo