Re: johnny.backends.memcached.MemcachedCache': 'module' object has no attribute 'CacheClass' ?????

2014-01-26 Thread Oak McIlwain
Did you end up solving this issue? On Sunday, November 10, 2013 2:53:26 AM UTC+8, vittorio wrote: > > In my settings.py I have the following code: > . > CACHES = { > 'default': { > 'BACKEND': 'johnny.backends.memcached.MemcachedCache', > #

Re: interplay between django and twitter-bootstrap...

2013-01-23 Thread Sameer Oak
Hello Pankaj, This is much of a help from you. Thank you very much for you help. Regards, - sameer oak. On Wed, Jan 23, 2013 at 7:07 PM, Pankaj Singh <ps.j...@gmail.com> wrote: > Hey Sameer, > > Django gives you complete freedom for choosing client side libraries. > You can

Django multitenant urls configuration

2012-09-04 Thread Oak
Hello everrybody! I am trying to add some simple tenancy support to an app, creating an Account model which has a string 'tenant' to be read from the request url and identify the tenant in the system: tenant.example.com/* -> www.example.com/tenant/* (rewritten by apache) I wrote a simple

RE: Replace function within template?

2008-01-21 Thread Oak McIlwain
ference if it exists, or you could write your own. On Jan 21, 10:44 pm, "Oak McIlwain" <[EMAIL PROTECTED]> wrote: > ... lol. > > I'm pretty sure you know what I mean now but I'll clarify it anyway: > > When I say "in a template" I mean "within the c

RE: Replace function within template?

2008-01-21 Thread Oak McIlwain
- From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Russell Keith-Magee Sent: Tuesday, 22 January 2008 12:39 PM To: django-users@googlegroups.com Subject: Re: Replace function within template? On Jan 22, 2008 11:18 AM, oak <[EMAIL PROTECTED]> wrote: > > Is

Replace function within template?

2008-01-21 Thread oak
Is it possible to perform a replace operation in a template? I couldn't find any reference to it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

ImageFile not prepending MEDIA_ROOT onto upload_to folder location

2008-01-20 Thread oak
For some reason when I upload files, they are getting put straight into my c:/ root rather than the MEDIA_ROOT specified in the setting.py. ie. If I have this in my model: image = models.ImageField(upload_to="/albums",blank=True, null=True) it will create a directory c:\albums and upload the

RE: One to many issue in Django admin

2008-01-16 Thread Oak McIlwain
9:34 PM, oak <[EMAIL PROTECTED]> wrote: > In Django admin I can add a track without specifying a file without a > problem however if I go into album and try to add a track that way. It > has an error saying that the file can not be null. It looks like you initially created the table

One to many issue in Django admin

2008-01-15 Thread oak
I have an album and it has many tracks. The track has a FileField. The FileField has null=True and blank=True. In Django admin I can add a track without specifying a file without a problem however if I go into album and try to add a track that way. It has an error saying that the file can not