Opened 17 years ago
Closed 17 years ago
#5315 closed (duplicate)
imagefile and not long path
Reported by: | Owned by: | Philippe Raoult | |
---|---|---|---|
Component: | Core (Other) | Version: | 0.96 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
first sorry for my bad english.
The file image have a too short charater.
I have a site of photo (from the world). The path im my disk is, for example : "/var/web/image/California/Mon and death valley san Francisco/Mon and death valley san Francisco 139.jpg" it's too long, it's 104 charaters.
I mannualy alter table, but it's not a good idea.
In my opion will be a good idea add a max_length arguments.
Thank you.
Change History (3)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
looks like a dup of #231, but maybe it's only a very similar issue
comment:3 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
The field should not be storing the full path - if you set MEDIA_ROOT properly, it only has to store a little bit of that at the end, since the paths there are used relative to MEDIA_ROOT and MEDIA_URL :)