John
You could certainly use that. I have not used it before.
François
On Oct 25, 2013, at 5:17 AM, John Carlo wrote:
> Hello Francois,
>
> thank you very much for your reply. Not it's all clear.
>
> What about using shelve?
>
> import shelve
>
> db = shelve.open("database", "c")
> db["on
Hello Francois,
thank you very much for your reply. Not it's all clear.
What about using shelve?
import shelve
db = shelve.open("database", "c")
db["one"] = 1
db["two"] = 2
db["three"] = 3
db.close()
db = shelve.open("database", "r")
for key in db.keys():
print repr(key), repr(db[key])
John
There are a couple of ways you can handle this, either you store the files in a
database as a TEXT blob, or as a temporary file somewhere.
And you can identify your users with request.user if they have to have an
account, or request.session.session_key if they don't, the session_key is th
Hello everybody,
I'm a newbie with Django, I love it but something it's not clear to me. So
I'm here to make a question. Thank you in advance.
I have an application that has some istances of custom classes I wrote. At
every client request, every istance creates a big list of strings. Then, a
f
4 matches
Mail list logo