#35164: PermissionError: Permission denied: site-packages
-------------------------------------+-------------------------------------
Reporter: milahu | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: database migrations | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia Bidart):
Dear milahu,
As mentioned by two Django maintainers, your use case is not supported by
Django: having 3rd party apps installed as dependencies and then modified
locally producing alterations that require new migrations is an anti-
pattern. You are, of course, free to make the decision of continuing doing
so, but please be mindful that Django will not include fixes for these
cases because it's not an usage pattern that we want to encourage.
If you need to modify a 3rd party app generating the need of new
migrations, the recommended path forward is to either reach out to the 3rd
party app maintainers, or fork the library if you have the permissions to
do so and make a new release of the library including the migration, so
it's installed in your dev environment with a clean and complete state.
If you still have questions, the best place to get more answers to your
issue is using any of the user support channels from
[https://docs.djangoproject.com/en/dev/faq/help/#how-do-i-do-x-why-
doesn-t-y-work-where-can-i-go-to-get-help this link].
--
Ticket URL: <https://code.djangoproject.com/ticket/35164#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018d7974d451-d37628ae-3fbd-4695-907a-f371708a881b-000000%40eu-central-1.amazonses.com.