Hello everyone!
Really strange problem with serving static files with
django.views.static.serve():
So I've got media/css dir with show_indexes=True for serve() method.
It gives me list like this:
Index of css/
# ../
# default.css
# general.css
...
It means that the script is able to locate both
> > > which would not require users to create accounts on my site. I
> > > appreciate your feedback though.
>
> > > On Jun 28, 4:58 am, Vladimir Shulyak wrote:
>
> > > > Try django-votinghttp://code.google.com/p/django-votingifyouwant
> > > >
Well... Problem closed. I was trying to override things that I
shouldn't. Now I got the idea of returning manager by __get__ and
everything is just fine :)
On Jun 27, 11:13 pm, Vladimir Shulyak wrote:
> Hello,
>
> I am trying to develop sublcass of models.ManyToManyField. This
Try django-voting http://code.google.com/p/django-voting if you want
digg-like voting.
This app stores all votes in database, so it prevents user to "vote
up" multiple times.
Alternatively, you can develop it yourself. It's pretty
straightforward to implement imo. IP address comes with request ob
> It still surprises me that the tagging module does not live with the
> rest of Django as opposed to within Python.
Nothing unusual. Your django app lives in PYTHONPATH and other modules/
apps may live in libs directory as it is also in PYTHONPATH. You could
create any directory you like (with y
Hello,
I am trying to develop sublcass of models.ManyToManyField. This class
should return text representations of objects to forms.TextField (like
TagField from django-tagging). The reason to make my own
representation is because:
- I don't need content types
- I need "front face" to ManyToManyF
Any progress on this problem?
I've got exactly the same problem with sessions on ubuntu/database-
backend sessions. But the most interesting thing that variables like
instances of large classes are deleted while simple instances like
integers are fine.
class Cart():
items = {}
to
7 matches
Mail list logo