What is the maximal value for an AutoField?
When that value is reached, does it "wrap" around to 0, or does
something else occur?
Is it database-backend dependent?
I can't find it in the documentation, nor on this mailing list.
Thank you.
--~--~-~--~~~---~--~~
You
Yup, that did it!
Thanks for pointing that out! That article was hard to find in the
documentation.
On Sep 12, 7:58 pm, "A. Rossi" wrote:
> I had not considered writing a custom Storage class. I may try that if
> there are no other alternatives.
>
> Any other ideas/solut
used any custom file storage yet but maybe using a custom file-
> storage with a dummy save method when file exists is what you need.
>
> On Sep 12, 1:43 pm, "A. Rossi" wrote:
>
> > I have an application where users can upload images, then the image is
> > renamed to
I have an application where users can upload images, then the image is
renamed to a SHA256 hash of the file's contents.
Here is the relevant snippet of the model
class ImagePost(Post):
def imgurl(self, filename):
import hashlib, os.path
extension = os.path.splitext(filename)
I am suffering a similar problem, but I think the problem is that my
URLConf is improperly configured to display the images.
Could somebody direct me to the proper documentation for displaying
static images with the dev server?
On Aug 23, 9:18 am, "J. Cliff Dyer" wrote:
> On Sun, 2009-08-23 at
5 matches
Mail list logo