I have no problem serving static content, but i'm still confused about
the MEDIA_ROOT and MEDIA_URL.
Why the ROOT if i have the URL?
how do you actually use those variables?
In production and in develpment server i havent used them, i simply
serve the statics content in some virtual server for t
Juan Miguel: Confirm my suspects, thankyou.
varikin: how i didn't think on it before, thanyou.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@go
Given the next example, i was expecting to see printed the new value
of obj.casa and the last comment, but instead i have the new value of
obj.casa but the penultimate comment.
class JuegoAdmin(admin.ModelAdmin):
...
def save_model(self, request, obj, form, change):
obj.save()
On 8 sep, 11:12, "Ian Ozsvald" <[EMAIL PROTECTED]> wrote:
> Hi Bedros. I used CamTasia 5 on Windows with a pro-audio mic. After three
> years building ShowMeDo I've had plenty of time to experiment with sw and
> mics.
>
> Thanks for the three of you pointing out how quick it was, that was (it
>
I set a models.FilePathField with the path attribute as an instance of an
object implementing __str__. I works well until I needed to get the
corresponding Form Field. It caused the following error:
TypeError: listdir: path should be string, bytes, os.PathLike, integer
or None, not StringSe
El martes, 16 de mayo de 2017, 5:41:20 (UTC-4), James Schneider escribió:
James. Thank you a lot for your guidance ...
> TBH, you may want to rethink your approach to this problem. If you are
> generating paths relative to a variable, then simple concatenate the given
> path and variable acc
6 matches
Mail list logo