Good day.

In the layout there is an audio player. Songs are loaded into the application from a script (python).

How do I correctly write a model for this? It is necessary to use models.FileField (), but I can not properly organize the structure of files and databases in view of their inexperience.

  • Add code samples (layout, script that loads songs there), then there will be more chances that they will help you. - Andrey

0