Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7k
Moving REST framework forward#9270
-
Hey all, REST framework could clearly do with new leadership at the moment. (My open source work is currently almost all directed at There are a handful of options that seem reasonable to me...
The project is in good shape & widely used, and there's plenty of businesses that I'd assume have a stake in helping out here. I'm interested in feedback from potential contributors around these options in order to help us start moving the project forward again?... |
BetaWas this translation helpful?Give feedback.
All reactions
👀 10
Replies: 8 comments 14 replies
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I think the DSF option is the best choice, considering the importance of the package. Even if they haven't reached out yet, it may be worth taking a shot 🥛 That being said, what is the biggest need for maintenance / future plans right now? Are there any items that need immediate help from people reading this discussion? |
BetaWas this translation helpful?Give feedback.
All reactions
-
At a minimum we need someone to determine if there any release blockers for 3.15, which probably comes down to are there any outstanding PRs required in order to fully support Django 5.0? Once we've answered that then we can roll a release. |
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 1
-
Got it. I think the discussion on#9210 is a good starting point and I'll check there if there is anything I can help with. |
BetaWas this translation helpful?Give feedback.
All reactions
-
@tomchristie I merged this recently#9233 |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
The lack of traction over the past 5 months (since 5.0 beta's release) has been very frustrating. I've been waiting since the beginning of the year for a release so I can upgrade my production systems to Django 5, but DRF is currently the only project holding me back from doing so. I assume there are many orgs in the same position that also are struggling with this right now and have likely made the (dangerous) decision to build their own forks and pray for the best. I would be nice to have some clear list of outstanding tasks remaining for a release - there are many people out there who have modified the guts of DRF in the past (including myself) who would be willing to participate if there was some direction from the project's maintainers on what is taking so long and what it would take to get a 3.15 release out the door. It's not even like moving to alternatives is possible either if you're currently the sole maintainer of a project that has hundreds of endpoints. The rework required for that would be massive. FWIW (if anything) I really like jazzband's projects and they seem very open to changes. |
BetaWas this translation helpful?Give feedback.
All reactions
-
I would like to contribute in keeping this project live and working. The lack of any new feature or release to keep up with the development of Django in the last 18 months was a bit frustrating. It would be very good if this project moves under DSF, but I feel that currently it is not on roadmap since "you may implement a Django REST app also without DRF". Probabily the best would be to build a new team of developers/maintainers to keep everything up&running. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Personally, I think DSF is the best option because of its size, number of contributors, and reliability. The proposal to include DRF in django's contrib package has been a popular discussion. However, I think it would be very expensive for django to adopt it, but I think it's worth trying. Do you have a to-do list for DSF adoption? and if so, I'd love to help out a little bit. I think the jazzband is a good organization and team, but as far as I know they do maintenance almost unpaid. Considering the size and impact of this project, I think we need a rigorous maintainer who is more passionate about the project... In my opinion, the most realistic option is still to keep the project in encode... This is because I believe that the most important thing to maintain an open source project is, ironically, money. |
BetaWas this translation helpful?Give feedback.
All reactions
-
I will go with Remain under encode.io - The project remains under encode.io, with new members stepping into a leadership role. As DSF do not have any dedicated resource for it. and I don't think Jazzband is reasonable for a project like this. I started maintaining this back in November 2022. until very recently I got busy with my relocation but as I'm settling down, I think I can continue to contribute. I think If we want we can cut a release in next 2 weeks for sure.@tomchristie |
BetaWas this translation helpful?Give feedback.
All reactions
-
Okay, thanks everyone... consensus seems to be that we're probably in the right place at the moment, tho we need to get things back on track.
|
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 11🚀 7
-
It should be maintained, yes. Intent should be minimal noise on here, keep pace with changes in Django and squish any security issues. It doesn't need any ongoing featurification. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 5🎉 1
-
BetaWas this translation helpful?Give feedback.
All reactions
👍 8
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
This part of the documentation seems to hint at adding some features to the framework, are there still plans to add Websocket & JWT & CORs support? (https://fund.django-rest-framework.org/topics/funding/) Or would it be better to improve the documentation? (I apologize if this is a sensitive area, I just wanted to know what your thoughts are on this at this point). |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
There's no off-limit conversations here... yep those aspects of the documentation arelong out of date. (The fundingdid help WebSockets support in Django, to the extent that I think what we actually want at this point in time is redirecting our funding pages towardshttps://github.com/sponsors/encode and figuring out how we can be dealing with sponsorships and our available funds across the whole range of |
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 1
-
Hi@tomchristie, I agree with the scope you laid out above for maintaining DRF, and am interested in stepping up as a maintainer. |
BetaWas this translation helpful?Give feedback.
All reactions
-
👋 DSF board member here. I’ll add this to the agenda of internal DSF discussions. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 9❤️ 12
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
We discussed this in yesterday’s DSF board meeting and confirmed what others have said above, which is that we care about the success of DRF but the DSF doesn’t currently have capacity to look after more packages. We haveDEP 7: Official Django Projects as a policy when adopting projects under the Django org, however this still requires forming a maintainer team and renewing it over time. Which is the hardest part of maintenance. So doesn’t feel like it would help too much here (happy to be told otherwise). And – people like Django Fellows who are paid to do maintenance and community support – are paid to do so for Django itself. They can work on helping with other packages as they deem appropriate, but that’s at their discretion. Everything else is volunteer-based. Back to what the DSFcan do – collaborative package maintenance over time is a real challenge for open source communities like ours. And DRF is in use in abouthalf the projects out there, so we definitely want to help how we can. In the short term I’ll get in touch with other people at the DSF and ask them for thoughts. Lots will have experienced package maintenance challenges for Django itself, and with Jazzband, and elsewhere. We have aDSF working groups mechanism to make Django community things happen with formal support (a budget, infrastructure, comms w/ other Django initiatives, etc). Perhaps apackage maintainers working group could be a good way to support the new DRF maintainers in the short term, and also help with open source sustainability considerations in the wider ecosystem? In the very, very short term – ourDjango Discord server has a #packages channel, which is a good place if you want to ask maintainers for their wisdom. And not Django related but GitHub as a greatMaintainer Community which I’d recommend as a safe place to ask tough open source community questions. |
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 14
-
Probably another 10%-20% of projects are doing APIs without DRF. It sounds like Django REST Framework should bebuilt into Django instead of being anoptional add-on. FastAPI and other modern web frameworks are a recognition that APIs are vital (not optional) for building modern web applications. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 6😕 1❤️ 5
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Valid point. Personally I’d recommend considering this separately from maintenance of DRF. See recentroadmap-level discussions on the Django Forum, in particularBuilt-In API Framework. There was interest but no one volunteering to make a more fleshed-out proposal. I’d recommend starting a discussion on the Django forum to take this further. |
BetaWas this translation helpful?Give feedback.
All reactions
-
This came up again in discussions at DjangoCon Europe. There's no appetite to merge DRF into core, but plenty of people expressed the desire for DRF to not just continue to be maintained (in stasis) but be allowed to evolve again. (e.g. cc-ing@tfranzel, who maintains drf-spectacular was quite passionate in that camp) As@thibaudcolas says, I think the DSF taking it on is only feasible if we can answer the maintenance question. That would need to be a paid role, as for all the discussions I had,nobody said thatthey were prepared to take on DRF on a volunteer basis. Everyone wants DRF maintained as long as they're not the one doing it, it seems. 🙂 That's totally understandable, but it clearly highlights how any solution here needs to look. I personally have drifted too far from DRF and am not able to maintain it even on a paid basis. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 5
-
The only thing that needs to be happening in my perspective is to adopt the Djangorelease roadmap. Under which flag this happens is less important since the same people will do the heavy lifting. According to the roadmap the next release would be Django 5.1 plannend for august. Since shared responsibility is no responsibility I think community should appoint a release manager. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 2
-
Having a release process in line with Django's iscertainly a good idea. Perhaps someone would be motivated in drafting a change to theproject management docs which are somewhat out of date.
The lifting here should mostly consist of... improving the docs, making sure we've got a nice safe release process, handling security issues, dealing with any updates strictly required by newer Django versions, and helping say "no" to pull requests and issues.
I'm unsure how we should handle that. Interested individuals could self-nominate in this thread as a starting point, perhaps? |
BetaWas this translation helpful?Give feedback.
All reactions
🚀 1