Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicated code when using django style guide pattern #5

Open
mojtabaakbari221b opened this issue Apr 8, 2023 · 0 comments
Open

duplicated code when using django style guide pattern #5

mojtabaakbari221b opened this issue Apr 8, 2023 · 0 comments

Comments

@mojtabaakbari221b
Copy link

I read the django style guide section and really liked it.
Because the approach I was using was adding a lot of complexity to my projects when I thought I was saving time with generics. but the question that arises is this, There are very few packages that use this pattern, for example, the djoser package that I use in my projects is written with generics, using it leads to adding generics and complexity when customizing it. And if I don't use it, I will end up writing a lot of duplicate code for which there is a package. And this case is also true for the rest of the packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant