Django“和” Pinax还是Pinax? [英] Django "and" Pinax or just Pinax?

查看:103
本文介绍了Django“和” Pinax还是Pinax?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个个人项目。该项目完成,但现在我想添加一个社交应用程序。我认为pinax已经准备好了这个任务。我想知道一些:



我可以在django应用程序中在我的项目中使用pinax吗?或者我需要使用pinax修改我的项目?



谢谢你们。

解决方案

有两种方法来处理你想要做的事情。正如Celopes所说,由于Pinax由一堆可重用的Django应用程序组成,您可以选择并选择所需的应用程序,并将其添加到项目中。



其他方法将是从 Pinax模板项目之一开始整合您的代码和自定义。



无论如何,您不需要重写代码,尽管可能需要一些工作才能很好地集成这些部分。 >

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.

解决方案

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.

这篇关于Django“和” Pinax还是Pinax?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆