Re: CACHE_BACKEND = 'locmem:///' <-> 'locmem://'

2009-11-19 Thread Russell Keith-Magee
On Thu, Nov 19, 2009 at 6:52 PM, jedie  wrote:
> What is the right "spelling": 'locmem:///' or 'locmem://' ???
>
> In the docu is three "/" [1]
> but in global_settings.py is two "/" [2]
>
> [1] http://docs.djangoproject.com/en/dev/topics/cache/#local-memory-caching
> [2] 
> http://code.djangoproject.com/browser/django/trunk/django/conf/global_settings.py?rev=11709#L329

In practice, it actually doesn't matter. Both are parsed the same by
the cache backend.

However, for consistency, we should pick one and stick to it. I've
updated the docs in r11750 and r11751. Thanks for the report.

Yours,
Russ Magee %-)

--

You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=.




CACHE_BACKEND = 'locmem:///' <-> 'locmem://'

2009-11-19 Thread jedie
What is the right "spelling": 'locmem:///' or 'locmem://' ???

In the docu is three "/" [1]
but in global_settings.py is two "/" [2]

[1] http://docs.djangoproject.com/en/dev/topics/cache/#local-memory-caching
[2] 
http://code.djangoproject.com/browser/django/trunk/django/conf/global_settings.py?rev=11709#L329

Sorry, if this is nonrelevant ;)

Mfg.

Jens Diemer

--

You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=.