Django “and” Pinax or just Pinax?

痴心易碎 提交于 2019-12-14 01:36:53

问题


I'm developing a personal project. The project is "finished", but now I want to add a social app. I think pinax is ready for this task. I would like to know something:

Can I use pinax in my project like a django app? Or do I need to rework my project using pinax?

Thanks guys.


回答1:


There are two ways to approach what you're trying to do. As celopes said, since Pinax is made up of a bunch of reusable Django apps you can just pick and choose the ones you want and add those to your project.

The other approach would be to start from one of the Pinax template projects and integrate your code and customizations.

Either way, you don't need to rewrite your code, although it will probably take some work to integrate the pieces nicely.




回答2:


From the Pinax website:

By integrating numerous reusable Django apps to take care of the things that many sites have in common, it lets you focus on what makes your site different.

So Pinax is composed of reusable django apps. Use the ones you need.

Documentation is here.



来源:https://stackoverflow.com/questions/1977004/django-and-pinax-or-just-pinax

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!