Giter Site home page Giter Site logo

The permission codenamed 'view_audiofile' clashes with a builtin permission for model 'audiofield.AudioFile' about django-audiofield HOT 2 OPEN

areski avatar areski commented on September 1, 2024
The permission codenamed 'view_audiofile' clashes with a builtin permission for model 'audiofield.AudioFile'

from django-audiofield.

Comments (2)

JanineRoux avatar JanineRoux commented on September 1, 2024

I'm trying to save an audiofile to my 'Music' model.

I have just installed django-audiofield (0.10.0)
I'm using MVSC 2019 version 4.8.03752 on Windows 10
Python 3.8 Django 3.1.5

Executing manage.py check
SystemCheckError: System check identified some issues:

ERRORS:
audiofield.AudioFile: (auth.E005) The permission codenamed 'view_audiofile' clashes with a builtin permission for model 'audiofield.AudioFile'.

System check identified 1 issue (0 silenced).
The interactive Python process has exited.

I have tried to locate the source of the error, but am unable to.
I have also tried to locate the source by commenting out the settings, model and admin updates - to no avail.
There seems to be no other option than to uninstall the django-audiofield package . :-(

from django-audiofield.

katechengudu avatar katechengudu commented on September 1, 2024

I have error:
The permission codenamed 'view_audiofile' clashes with a builtin permission for model 'audiofield.AudioFile'

i tried this solution
344ff9c

but doesnt work... always this error ;/

hi there,

the 344ff9c solution https://github.com/areski/django-audiofield/commit/344ff9c135387719d6000a09c28d3648dd9a9a05 has sorted out this problem for me.

the changes in this given solution are to be made in the audiofield/models.py file in the installed package file, NOT our own models.py file.

from django-audiofield.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.