Django Music streaming

79 views
Skip to first unread message

IaMtheMcee

unread,
Apr 8, 2017, 11:05:22 AM4/8/17
to Django users
Hi, i'm new to django.. I want to make a music streaming service much like itunes where users can purchase and download music. I'm using the audiotracks django package to handle my upload and streaming, but im having trouble with it.. any pointers?

ludovic coues

unread,
Apr 8, 2017, 12:10:31 PM4/8/17
to django...@googlegroups.com
Could you tell what kind of trouble you have ?
> --
> 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 django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/02e8c8b0-8490-42d1-a384-d5390261a0ad%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Ludovic Coues
+33 6 14 87 43 42

IaMtheMcee

unread,
Apr 8, 2017, 12:38:57 PM4/8/17
to Django users
setting up audiotracks in a new project.. im forced to use the example project, whose structure i don't fully understand.. 

the documentation says..

Add ``audiotracks`` to your app
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Edit ``settings.py`` and add ``audiotracks`` to your list of
``INSTALLED_APPS``. Then synchronize your database with::

    $ python manage.py syncdb

Edit your ROOT_URLCONF_ and add a piece of code similar to::

    urlpatterns += patterns('',
        # Here we mount the app under /music. Feel free to use something else
        url("^music", include("audiotracks.urls")),
        # Some URLs require a Django username
        url("^(?P<username>[\w\._-]+)/music", include("audiotracks.urls")),
    )

Visit the URL ``/music/upload`` to upload your first track.


but i get an error everytime i try 

Camilo Torres

unread,
Apr 8, 2017, 8:05:42 PM4/8/17
to Django users
Hi, you forgot to include the error you get and probably other relevant information.
You may be interested in reading these articles:

https://developer.jboss.org/wiki/HowToAskAForumQuestion?_sscc=t

https://www.biostars.org/p/75548/

ludovic coues

unread,
Apr 9, 2017, 8:45:32 AM4/9/17
to django...@googlegroups.com
Most of the time, error in django come with a traceback. The traceback
might be a bit scary but it's full of information on what is going
wrong and why.
> --
> 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 django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8da5ca14-3735-4247-8298-006fcff46bc2%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages