开发者

Can the Django urls.py system be turned into Pylon's Routes?

开发者 https://www.devze.com 2023-01-01 10:50 出处:网络
Can the Django urls.py system be turned into Pylon\'s Rout开发者_运维知识库es?Could you bemore specific?

Can the Django urls.py system be turned into Pylon's Rout开发者_运维知识库es?


Could you be more specific?

If you want to adapt a django urlconf to routes at runtime it would be really tricky if not impossible and would require having a django settings.py present and an env variable pointing to it.

Otherwise translating a django urlconf to routes manually is doable. Routes is as flexible as django urlconfs when it comes to defining urlpatterns.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号