James,
With Snow Leo and preinstalled MySQL5 the package I'm using is here.
http://sourceforge.net/projects/mysql-python/files/
MySQL-python-1.2.3c1.tar.gz
Direct Link:
http://sourceforge.net/projects/mysql-python/files/mysql-python-test/1.2.3c1/MySQL-python-1.2.3c1.tar.gz/download
IMHO, source
request.user will give you the User object from the
django.contrib.auth.models, but Authors has no relation.
If you slightly modify your Book model to make authors relate to the
above module, you can eliminate the Authors Model and the "user" of
you Book model.
class Book(models.Model):
I'm very interested in this as well. I wrote almost all the forms and
logic to do what this module already does :/
I should lrn2RTFM! but that's been an uphill battle for many ppl ;)
On Dec 2, 2009, at 8:48 AM, Andreas Kuntzagk wrote:
> Hi,
>
> I try to get user authentication working. I follo
How about trying to look at whats available for django... mine says this
>>> import django
>>> dir(django)
['VERSION', '__builtins__', '__doc__', '__file__', '__name__',
'__package__', '__path__', 'conf', 'contrib', 'core', 'db',
'dispatch', 'forms', 'get_version', 'http', 'middleware', 'sho
e__',
'__path__', 'cache', 'exceptions', 'files', 'management', 'signals',
'urlresolvers']
Thnx Bill for that info :]
On Dec 2, 2009, at 11:37 AM, Kenny Meyer wrote:
> On Wed, 2 Dec 2009 11:19:41 -0500
I'm not so sure that a django question as much as it is a Python
question...
http://docs.python.org/library/json.html
On Dec 2, 2009, at 2:01 PM, jul wrote:
> I'm using jQuery post:
>
> $.post("/getRestaurant/", location,
> function(data) {
> /* stuff */
> });
>
Why use a timer, what about storing time in a "taken_time" column in
your model, then subtract expiration time from current and check if
this number is grater than the "Taken time" timestamp
In the view the gets ready to render a browsable object, just do the
same time difference hickamajig
Or you could hack/port the library Peter spoke of earlier and add the
functionality you are looking for :] but how would you admin it, and i
bet alot would break at first sight.
On Dec 3, 2009, at 4:33 PM, Peter Herndon wrote:
>
> On Dec 3, 2009, at 3:29 PM, bfrederi wrote:
>
>> I'm not looki
'yam,
I have not seen this error, but my responses to the error are inline.
On Jan 6, 2010, at 6:30 AM, Subramanyam wrote:
File "/home/bvemu/lib/python2.6/site-packages/django/core/cache/
backends/memcached.py", line 37, in set
self._cache.set(smart_str(key), value, timeout or
self.default_
I assume you could checksum some form of the user's object or
"cleaned" form values and store it as unique attribute of the users.
You would prolly have to override the clean method and add in
valudation of the uniqueness and generate using an alternate method if
the first does not validate
I was kinda in the mood for Raven ;)
On Feb 26, 2010, at 12:10 PM, Gisela Cartaya wrote:
My apologize for all, this has been a big mistake error, this is a
technical mailing list I ask to the administrator to delete from
archive that email as soon as possible.
Thanks
Greetings.
De: Nicolas
11 matches
Mail list logo