django cumulus does this with the directory hierarchy just fine.
On Sep 26, 11:33 am, Kurtis wrote:
> Hey,
>
> I really want to build a storage back-end for cloudfiles. The snag is
> that cloudfiles containers do not allow for a hierarchical directory
> structure. Everything must be in a "base di
you could write a middleware that looks at the request.META and
inserts the correct id into the request?
you won't be able to access it like you would with the
settings.SITE_ID, but it should be a start
On Sep 9, 5:02 am, sjtirtha wrote:
> Hi,
>
> I'm looking for the best solution to have a mult
Django itself doesn't ship any templates.
In order to understand where all your templates are, and how the {%
extends 'template.html' %} functionality works, it's best to read the
docs.
https://docs.djangoproject.com/en/1.3/topics/templates/#id1 is a good
starting point in this case.
On Sep 9, 9
_ad...@mx.google.com>
Received: from localhost (dev.mapocity.com [192.168.30.184])
by www27.interneet.com (Postfix) with ESMTP id D23E7A40031
for ; Wed, 10 Aug 2011 09:02:32
-0700 (PDT)
From: django-users@googlegroups.com
To: Eric Hutchinson
Subject: Re: Re: How to order "links" in
This is a meta option.
from django.db import models
import datetime
class Directory(models.Model):
website_name = models.CharField(max_length=200)
website_url = models.CharField(max_length=200)
website_position = models.IntegerField()
pub_date = models.DateTimeField('date published')
I'm sure by now everyone's seem the total freak out over the uk cookie
law. (http://blog.silktide.com/2011/05/cookie-law-makes-most-uk-
websites-illegal-what-you-need-to-know/) Since django with the
sessions middleware installed automatically sets a cookie, I believe
this violates the law? Since I
PIL (Python Imaging library) is the engine that pretty much powers
this functionality on most sites.
TO make it easier, look at the sorl and imagekit apps, they do all the
heavy lifting for you.
On Apr 24, 10:20 pm, xeed wrote:
> hi im noob in django, i need help, i want have an avatar or thumbn
Hi,
I'm trying to implement object level permissions as in:
http://djangoadvent.com/1.2/object-permissions/
The problem i'm having is that while it works when calling
user.has_perm('can_read', object)
, but in the template when i attempt to do {% if perms.object.can_read
%}can read{%end if %} my
I don't see the advantage of writing your own ajax views. the examples
save maybe one, two lines over manually writing your own using plain
jquery. you still need to write javascript to submit the forms and
what not, so nothing is gained there. you still need to write a 'view'
only it's not quite a
check out:
http://docs.djangoproject.com/en/1.2/topics/cache/#controlling-cache-using-other-headers
On Feb 20, 7:06 am, Олег Корсак
wrote:
> Hello. I have memcached mw enabled. And I can see that response is
> cached in memcached. I want to stop caching that. How is it possible to
> do? Thanks
>
10 matches
Mail list logo