Re: Media Files - local network share

2022-02-08 Thread Swelan Auguste
Thanks for the suggestion. I tried it but it ended up in the app base directory. Can you help me out? On Mon, Feb 7, 2022, 12:03 PM Jiffin George Kokkat wrote: > Hi, > > Mount shared network path to media folder of the Django. > > https://stackoverflow.com/questions/52825610/django-media-root-

Re: Media Files - local network share

2022-02-07 Thread Jiffin George Kokkat
Hi, Mount shared network path to media folder of the Django. https://stackoverflow.com/questions/52825610/django-media-root-pointed-to-network-drive this may help Thanks, Jiffin George Kokkat On Mon, Feb 7, 2022 at 7:41 PM Litesh Garg wrote: > Hi, > > You can use django storages, particularl

Re: Media Files - local network share

2022-02-07 Thread Swelan Auguste
Good day, Thanks for your reply. I was looking into that also, are FTP and SFTP servers a good idea. I was under the impression that it was kind of old technology and was replaced by something bucket s3? Kindly, Swelan R. Auguste (Mr.) KingShip Technical Information Officer 758-489-3909 Webpage

Re: Media Files - local network share

2022-02-07 Thread Litesh Garg
Hi, You can use django storages, particularly ftp or sftp modules for storage and then use nginx to server these files. You can go through documentation here. https://django-storages.readthedocs.io/en/latest/backends/ftp.html On Mon, Feb 7, 2022 at 7:05 AM Swelan Auguste wrote: > Good day, > >

Re: Media Files - local network share

2022-02-06 Thread Swelan Auguste
Good day, Thanks. I was more looking for a local solutions (within a closed network) Kindly, Swelan R. Auguste (Mr.) KingShip Technical Information Officer 758-489-3909 Webpage On Sun, Feb 6, 2022 at 9:19 PM Yeboah Dominic wrote: > You can

Re: Media Files - local network share

2022-02-06 Thread Yeboah Dominic
You can try dropbox that is what I used to serve my media files in django On Sun, 6 Feb 2022 at 20:07, Swelan Auguste wrote: > > Good day all, > > > I am trying to figure out how to attach a Django app to a local network > server/share. > > I do not want to host the media files on the same serve

Re: Media files and download url

2020-05-19 Thread Riska Kurniyanto Abdullah
https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html You can used that modules and set the ACL. You can jump here, in Vitor article : https://simpleisbetterthancomplex.com/tutorial/2017/08/01/how-to-setup-amazon-s3-in-a-django-project.html then go to the chapter : Mixing publi

Re: Media files and download url

2020-05-14 Thread Parampal Singh
More details please 😊 On Tue, May 12, 2020, 12:52 AM Riska Kurniyanto Abdullah < alternative@gmail.com> wrote: > Amazon S3 have simple solution for that topic > > > On Tue, May 12, 2020 at 1:27 AM Parampal Singh > wrote: > >> Access media vedio files only when user logged in >> >> Temporary

Re: Media files and download url

2020-05-11 Thread Riska Kurniyanto Abdullah
Amazon S3 have simple solution for that topic On Tue, May 12, 2020 at 1:27 AM Parampal Singh wrote: > Access media vedio files only when user logged in > > Temporary file download url every time change > > > Any suggestions on these topics > > -- > You received this message because you are subs

Re: Media files

2018-06-19 Thread Cody ā€œtheultimatecasualā€ Davis
Thank you so much. Sent from my iPhone > On Jun 19, 2018, at 16:56, Jason wrote: > > https://docs.djangoproject.com/en/2.0/howto/static-files/#serving-files-uploaded-by-a-user-during-development > -- > You received this message because you are subscribed to the Google Groups > "Django users"

Re: Media files

2018-06-19 Thread Jason
https://docs.djangoproject.com/en/2.0/howto/static-files/#serving-files-uploaded-by-a-user-during-development -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to dja

Re: Media files

2018-06-19 Thread Cody ā€œtheultimatecasualā€ Davis
Well i have that. My problem really is i can’t find anywhere in the docs that says i need to add that. I’m really just looking for the documentation on it. Sent from my iPhone > On Jun 19, 2018, at 08:06, Akshay Gaur wrote: > > Maybe there is an issue with the way django is serving the docs.

Re: Media files

2018-06-19 Thread Akshay Gaur
Maybe there is an issue with the way django is serving the docs. Try the following: - in your base urls.py, add the following: if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) In case this doesn't work, would it be possible for you to p

Re: Media files django 1.5

2013-12-29 Thread Mike Dewhirst
On 30/12/2013 3:18am, Carlos Andre wrote: hello guys, i have a problem in django 1.5! I did a migration from version 1.3 to this and when I migrated projects that have worked in version 1.3 there was no recognition of the media in version 1.5! I made the steps of the tutorial, but the problem sti

Re: Media files not served automatically anymore in 1.3?

2011-08-29 Thread Reinout van Rees
On 27-08-11 17:22, Karen Tracey wrote: On Thu, Aug 25, 2011 at 7:21 AM, Reinout van Rees mailto:rein...@vanrees.org>> wrote: Only, with this 1.3 change django's 1.2's automatic serving of the media_url stuff has gone the way of the dodo. Django 1.2 never did automatic serving of media_

Re: Media files not served automatically anymore in 1.3?

2011-08-27 Thread Karen Tracey
On Thu, Aug 25, 2011 at 7:21 AM, Reinout van Rees wrote: > Only, with this 1.3 change django's 1.2's automatic serving of the > media_url stuff has gone the way of the dodo. Django 1.2 never did automatic serving of media_url, you always had to configure that manually if you wanted it. Karen --

Re: Media files not served automatically anymore in 1.3?

2011-08-25 Thread Reinout van Rees
On 25-08-11 12:08, Reinout van Rees wrote: Two questions: - "Breaking" automatic media_url serving seems worthy of a real note in the 1.3 changelog. That note isn't there. Is this bad? Or am I missing something? Yes, I am missing something... It turns out that django-staticfiles 0.2.0 include

Re: Media files not served automatically anymore in 1.3?

2011-08-25 Thread Uros Trebec
Somehow (I don't remember setting this up) I use https://github.com/divio/django-appmedia with urlpatterns = patterns('', (r'^' + settings.MEDIA_URL.lstrip('/'), include('appmedia.urls')), ) + urlpatterns in urls.py Good luck, Uros On Aug 25, 1:21Ā pm, Reinout van Rees wrote: > On 25-08-1

Re: Media files not served automatically anymore in 1.3?

2011-08-25 Thread Reinout van Rees
On 25-08-11 13:10, Landy Chapman wrote: Hope this helps: from https://docs.djangoproject.com/en/dev/releases/1.3-beta-1/ The staticfiles app ships with the ability to automatically serve static files during development (if the DEBUG setting is True) when using the runserver management command.

Re: Media files not served automatically anymore in 1.3?

2011-08-25 Thread Landy Chapman
Hope this helps: from https://docs.djangoproject.com/en/dev/releases/1.3-beta-1/ The staticfiles app ships with the ability to automatically serve static files during development (if the DEBUG setting is True) when using the runserver management command. Based on feedback from the community thi

Re: media files apache/modpython windows

2009-01-29 Thread May
Ok, I think I finally got it! In order to use my css template as a django inherited base.html(which is under folder-template) I have to place my html(ex. index.html) pages under the same folder "template", which is specified as a directory path in the settings.py file under TEMPLATE_DIRS: 'C:/fol

Re: media files apache/modpython windows

2009-01-28 Thread Brian Neal
On Jan 28, 3:51Ā pm, Karen Tracey wrote: > On Wed, Jan 28, 2009 at 3:39 PM, May wrote: > > > Hello, > > > I have the admin templates with CSS working under local server windows/ > > apache/modpython. Ā Now I would like to get my site css files to work > > under apache. > > > The settings and http

Re: media files apache/modpython windows

2009-01-28 Thread Karen Tracey
On Wed, Jan 28, 2009 at 3:39 PM, May wrote: > > Hello, > > I have the admin templates with CSS working under local server windows/ > apache/modpython. Now I would like to get my site css files to work > under apache. > > The settings and http.conf code is here: > http://dpaste.com/114010/ > > I

Re: Media Files

2008-01-16 Thread mOne
New at this so I appreciate all the help. Thanks! On Jan 16, 2:04Ā pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Jan 16, 2008 11:39 AM, mOne <[EMAIL PROTECTED]> wrote: > > > What I want to do is have the admin files, and the media files within > > the mysite directory. This way I can edit the

Re: Media Files

2008-01-16 Thread Karen Tracey
On Jan 16, 2008 11:39 AM, mOne <[EMAIL PROTECTED]> wrote: > What I want to do is have the admin files, and the media files within > the mysite directory. This way I can edit them accordingly and copy > the directory and just re-skin it for another client to use as a base. > Hope that makes sense.

Re: Media Files

2008-01-16 Thread mOne
What I want to do is have the admin files, and the media files within the mysite directory. This way I can edit them accordingly and copy the directory and just re-skin it for another client to use as a base. Hope that makes sense. So in essence I want to have a main directory djcode and then with

Re: Media Files

2008-01-16 Thread Karen Tracey
On Jan 16, 2008 9:59 AM, mOne <[EMAIL PROTECTED]> wrote: > > Hi, > > I have made all these changes and I am still getting this error in > Terminal. I can't seem to redirect straight to my files. > > [16/Jan/2008 10:01:48] "GET /admin/~/Users/sptxk/djcode/mysite/bnStyle/ > media/css/dashboard.css H

Re: Media Files

2008-01-16 Thread mOne
Hi, I have made all these changes and I am still getting this error in Terminal. I can't seem to redirect straight to my files. [16/Jan/2008 10:01:48] "GET /admin/~/Users/sptxk/djcode/mysite/bnStyle/ media/css/dashboard.css HTTP/1.1" 404 3600 [16/Jan/2008 10:02:07] "GET /admin/auth/user/ HTTP/1.

Re: Media Files

2008-01-15 Thread mOne
Thanks a lot Karen! On Jan 15, 3:15Ā pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Jan 15, 2008 2:21 PM, mOne <[EMAIL PROTECTED]> wrote: > > > > > Karen, > > > 1. In setting.py my media root is set to /Users/sptxk/djcode/mysite/ > > bnStyle/media/ > > Note MEDIA_ROOT has nothing to do with se

Re: Media Files

2008-01-15 Thread Karen Tracey
On Jan 15, 2008 2:21 PM, mOne <[EMAIL PROTECTED]> wrote: > > Karen, > > 1. In setting.py my media root is set to /Users/sptxk/djcode/mysite/ > bnStyle/media/ Note MEDIA_ROOT has nothing to do with serving static files/css. It's used when uploading files to your server. > 2. in urls.py (r'^si

Re: Media Files

2008-01-15 Thread mOne
Karen, 1. In setting.py my media root is set to /Users/sptxk/djcode/mysite/ bnStyle/media/ 2. in urls.py (r'^site_media/(?P.*)$', 'django.views.static.serve', {'document_root': '/Users/sptxk/djcode/ mysite/bnStyle/media/'}), 3. My css files are located /Users/sptxk/djcode/mysite/bnStyle/media/

Re: Media Files

2008-01-15 Thread Karen Tracey
On Jan 15, 2008 2:03 PM, mOne <[EMAIL PROTECTED]> wrote: > > Karen, > > I am in dev. Is there any other way in dv other than the static files? > > If you want your CSS served by the development server, the static server is the way to do it. Is that not working for you? If so, provide some specif

Re: Media Files

2008-01-15 Thread mOne
Karen, I am in dev. Is there any other way in dv other than the static files? Tom On Jan 15, 2:01Ā pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Jan 15, 2008 1:56 PM, mOne <[EMAIL PROTECTED]> wrote: > > > > > I am having trouble getting my CSS files to work. The templates for > > the admin

Re: Media Files

2008-01-15 Thread Karen Tracey
On Jan 15, 2008 1:56 PM, mOne <[EMAIL PROTECTED]> wrote: > > I am having trouble getting my CSS files to work. The templates for > the admin section are working, but in the settings.py file I cannot > get the CSS to work. > > Please Help. > What server -- development, apache, something else? If

Re: media files during developments

2007-01-10 Thread Jeremy Dunck
On 1/9/07, archie <[EMAIL PROTECTED]> wrote: > In the settings.py file I set the MEDIA_ROOT to be the one > where the css is and I added to urls the command > (r'^site_media/(.*)$', Where django.views.static, {'document_root': > settings.MEDIA_ROOT, 'show_indexes': True}). > However no sign of dja

Re: media files with django dev-server

2006-10-28 Thread patrickk
Am 26.10.2006 um 16:21 schrieb orestis: > >>> (1) to use the dev server >>> (2) no changes when moving to production >>> (3) to have core and non-core content served out of the >>> ADMIN_MEDIA_PREFIX prefix. >> >> 1 and 2 is true (especially 2). >> 3 not ... I don“t care serving admin_media with

Re: media files with django dev-server

2006-10-26 Thread orestis
> > (1) to use the dev server > > (2) no changes when moving to production > > (3) to have core and non-core content served out of the > > ADMIN_MEDIA_PREFIX prefix. > > 1 and 2 is true (especially 2). > 3 not ... I don“t care serving admin_media with a different prefix. > Why don't you follow my

Re: media files with django dev-server

2006-10-26 Thread patrickk
thanks everybody for the patience and the detailed answers. using --adminmedia might be a solution. I can“t check that, because on that specific server we“re on 0.95. guess I“m giving up on this issue and stay with the symlink from / django/contrib/admin/media/. still, some notes below. Am

Re: media files with django dev-server

2006-10-25 Thread Malcolm Tredinnick
On Wed, 2006-10-25 at 14:58 +0200, patrickk wrote: > thanks malcolm, I think we“re getting closer ... > > Am 25.10.2006 um 14:42 schrieb Malcolm Tredinnick: > > > > > On Wed, 2006-10-25 at 14:13 +0200, patrickk wrote: > >> sorry for being a pain in the neck, but we“re about to go online with > >

Re: media files with django dev-server

2006-10-25 Thread Istvan Albert
There is an option to manage.py --adminmedia=ADMIN_MEDIA_PATH that might just do what you need. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us

Re: media files with django dev-server

2006-10-25 Thread orestis
Look, there are two distinct things here: a) The admin media, which physically resides on django/contrib/admin/media and which the dev-server serves automagically and b) Your own media, which you are responsible of serving, either in production or development mode Here's what I do: For admin me

Re: media files with django dev-server

2006-10-25 Thread patrickk
thanks malcolm, I think we“re getting closer ... Am 25.10.2006 um 14:42 schrieb Malcolm Tredinnick: > > On Wed, 2006-10-25 at 14:13 +0200, patrickk wrote: >> sorry for being a pain in the neck, but we“re about to go online with >> our site and I desperately need to solve this problem. > > You al

Re: media files with django dev-server

2006-10-25 Thread Malcolm Tredinnick
On Wed, 2006-10-25 at 14:13 +0200, patrickk wrote: > sorry for being a pain in the neck, but we“re about to go online with > our site and I desperately need to solve this problem. You already mentioned that you have solved it using lighttpd (or, at least, that's what you seem to have mentioned)

Re: media files with django dev-server

2006-10-25 Thread patrickk
sorry for being a pain in the neck, but we“re about to go online with our site and I desperately need to solve this problem. solutions I had so far: 1. hardcoding media-urls incl. the host (not nice) 2. symlink from /django/contrib/media/ to /media/ (problem with django-updates) short descri

Re: media files with django dev-server

2006-10-25 Thread patrickk
Am 25.10.2006 um 10:41 schrieb orestis: > > I think you have confused some concepts. /django/contrib/admin/media/ > hosts the admin media files. > > You mention content uploaded by users... In what directory is this put > under ? /media/uploads/ > > Static files are documented here: > http://

Re: media files with django dev-server

2006-10-25 Thread orestis
I think you have confused some concepts. /django/contrib/admin/media/ hosts the admin media files. You mention content uploaded by users... In what directory is this put under ? Static files are documented here: http://www.djangoproject.com/documentation/static_files/ --~--~-~--~~-

Re: media files with django dev-server

2006-10-25 Thread patrickk
I made a symlink from /django/contrib/admin/media/ to my media- directory to solve this issue. it works, but it doesn“t seem clean - e.g., when I do "svn update" I guess I“m losing the changes to the media-directory. is there any better solution? thanks, patrick Am 24.10.2006 um 19:22 schrie

Re: media files with django dev-server

2006-10-24 Thread patrickk
Am 24.10.2006 um 19:11 schrieb orestis: > > You mention dev-server, yet you talk about apache and lighttpd. > > If running the dev-server, you shouldn't do anything, since it figures > out itself how to serve files. yes, but it looks for media-files in django/contrib/admin/media/ ... I“d prefer

Re: media files with django dev-server

2006-10-24 Thread orestis
You mention dev-server, yet you talk about apache and lighttpd. If running the dev-server, you shouldn't do anything, since it figures out itself how to serve files. If you're running apache, either with mod_python or with mod_fcgi, you should just create a link to the /foo/bar/admin/media direc