I want to serve an mov file on the file system with Django the way Apache
would. IBe managed to serve the file as a download but I'm looking to stream it
so it plays in browser. I want to avoid setting up a alias in Apache. Though
it's a static file I need to stream it securely based on the user
On 2014-12-27 08:00, Hanley Hansen wrote:
> I want to serve an mov file on the file system with Django the way
> Apache would. IBe managed to serve the file as a download but I'm
> looking to stream it so it plays in browser. I want to avoid
> setting up a alias in Apache. Though it's a static file
On Friday, December 26, 2014 8:31:16 AM UTC-8, Fellipe Henrique wrote:
>
> Hi,
>
> There's any actual open project to create a company "social" network using
> Django? I search on google, and I don't find any project using django (or
> even other python framework) only PHP or Ruby...
>
The P
Event though the following tutorial is not up to date with Django 1.7,
it is still quite understandable.
http://arunrocks.com/building-a-hacker-news-clone-in-django-part-1/
Best,
Phillip
On 27/12/14 17:10, Scot Hacker wrote:
>
>
> On Friday, December 26, 2014 8:31:16 AM UTC-8, Fellipe Henr
That makes sense. I've tried using sendfile but i'm not getting the
behavior I expect.
I'm using the simple backend:
SENDFILE_BACKEND = 'sendfile.backends.xsendfile'
And i'm sending the file like this:
project_path = os.path.dirname(__file__)
path = os.path.join(project_path, "..", "songs", so
On 26/12/14 16:31, Fellipe Henrique wrote:
> Hi,
>
> There's any actual open project to create a company "social" network
> using Django? I search on google, and I don't find any project using
> django (or even other python framework) only PHP or Ruby...
>
> Thanks,
>
> Cheers!
>
Another simp
On 2014-12-27 10:29, Hanley Hansen wrote:
> That makes sense. I've tried using sendfile but i'm not getting the
> behavior I expect.
>
> return sendfile(request, path, attachment=True)
Does it do what you want if you remove the "attachment=True"?
-tkc
--
You received this message because yo
No it does the same thing.
On Saturday, December 27, 2014 2:09:15 PM UTC-5, Tim Chase wrote:
>
> On 2014-12-27 10:29, Hanley Hansen wrote:
> > That makes sense. I've tried using sendfile but i'm not getting the
> > behavior I expect.
> >
> > return sendfile(request, path, attachment=True)
>
>
I know about Django storages (which is not compatible with Python 3.4)
and Django storages redux (which is compatible with Python 3.4 but gives
an error when trying to use it to sync static files to Amazon S3).
I'm really looking for another alternative to store my static files and
my media fi
All,
I have a Long Running Python Process that uses Django ORM against Oracle
database.
The size of the process keeps on increasing steadily.
I was profiling this process using mem_top and i find that the reference
count of one particular data type increases continuously with
iterations.
Datat
What error are you getting when using storages-redux?
On Sat, Dec 27, 2014 at 5:15 PM, Some Developer
wrote:
> I know about Django storages (which is not compatible with Python 3.4) and
> Django storages redux (which is compatible with Python 3.4 but gives an
> error when trying to use it to syn
On Dec 27, 2014, at 22:23, Anurag Chourasia wrote:
> I have a Long Running Python Process that uses Django ORM against Oracle
> database.
> The size of the process keeps on increasing steadily.
Are you running in Debug mode?
http://stackoverflow.com/questions/1339293/python-memory-leak-debugg
Collin, I got the bug!
I was in the wrong path, it had nothing to do with request or all the
other things I mentioned; translation config problems were the
culprit. Your explanation was very helpful to put me on the right
trace!
Thank you so much!!!
- Alexandre
On Fri, Dec 26, 2014 at 7:23 PM,
On 2014-12-27 10:29, Hanley Hansen wrote:
> I'm using the simple backend:
>
> SENDFILE_BACKEND = 'sendfile.backends.xsendfile'
Your initial email mentions running Apache. Are you seeing this on
an Apache server, or are you seeing it on the development server?
Also, how are you connecting Django
On 27/12/14 21:47, Vijay Khemlani wrote:
What error are you getting when using storages-redux?
Hmm. Seems I have managed to fix it. Not entirely sure what I was doing
wrong before though.
Anyway for future reference django-storages-redux and the latest version
of boto with Python 3.4.2 see
15 matches
Mail list logo