Django前端:任何模板或即用型解决方案?

时间:2022-10-11 06:51:20

Django, with the admin application, provides a fully funcional back-end for my web application. Django-grappelli goes further by applying wonderful style and features.

使用管理应用程序的Django为我的Web应用程序提供了一个完全功能的后端。 Django-grappelli通过应用精彩的风格和功能进一步发展。

But Django doesn't provide anything for the front-end. I know that each application may have a different fornt-end, but I wonder if there are 'templates' for some standard cases (e.g a basic front-end for blogs, one for CMSs, and so on).

但是Django并没有为前端提供任何东西。我知道每个应用程序可能有不同的fornt-end,但我想知道是否有某些标准案例的“模板”(例如,博客的基本前端,CMS的基本前端等)。

Are there some front-end templates or, at least, some best practices to tailor them on a Django-served app?

是否有一些前端模板,或者至少是一些最佳实践,以便在Django服务的应用程序上定制它们?

3 个解决方案

#1


10  

I can't remember seeing any generic django frontend templates, though most blog apps etc. come with their own set of templates.

我不记得看到任何通用的django前端模板,尽管大多数博客应用程序等都带有他们自己的模板集。

But then again: Using tools like Bootstrap or Blueprint should get you on track real quick.

但话又说回来:使用像Bootstrap或Blueprint这样的工具可以让你快速上手。

#2


1  

The pinax project:

pinax项目:

http://pinaxproject.com/

http://pinaxproject.com/

it's a repository of reusable django apps from social networks features ( suh as likes ) to conference web sites

它是一个可重复使用的django应用程序的存储库,从社交网络功能(如同喜欢)到会议网站

#3


0  

Django templates are lightweight, easy to create, and almost always app-specific. Some apps, like Django Zinnia include ready-made templates. If you want to avoid any HTML coding, you can look for apps with templates or for apps that come with a demo.

Django模板轻量级,易于创建,几乎总是特定于应用程序。一些应用程序,如Django Zinnia,包括现成的模板。如果您想避免任何HTML编码,您可以查找带有模板的应用程序或带有演示的应用程序。

Here are specific apps that provide templates (feel free to edit and edit):

以下是提供模板的特定应用程序(可随意编辑和编辑):

That said, there are plenty of free, beautiful themes available, so why not just adapt one of those? If you need a commercial theme, I can recommend ThemeForest.

也就是说,有很多*,美丽的主题,所以为什么不适应其中一个呢?如果您需要商业主题,我可以推荐ThemeForest。

#1


10  

I can't remember seeing any generic django frontend templates, though most blog apps etc. come with their own set of templates.

我不记得看到任何通用的django前端模板,尽管大多数博客应用程序等都带有他们自己的模板集。

But then again: Using tools like Bootstrap or Blueprint should get you on track real quick.

但话又说回来:使用像Bootstrap或Blueprint这样的工具可以让你快速上手。

#2


1  

The pinax project:

pinax项目:

http://pinaxproject.com/

http://pinaxproject.com/

it's a repository of reusable django apps from social networks features ( suh as likes ) to conference web sites

它是一个可重复使用的django应用程序的存储库,从社交网络功能(如同喜欢)到会议网站

#3


0  

Django templates are lightweight, easy to create, and almost always app-specific. Some apps, like Django Zinnia include ready-made templates. If you want to avoid any HTML coding, you can look for apps with templates or for apps that come with a demo.

Django模板轻量级,易于创建,几乎总是特定于应用程序。一些应用程序,如Django Zinnia,包括现成的模板。如果您想避免任何HTML编码,您可以查找带有模板的应用程序或带有演示的应用程序。

Here are specific apps that provide templates (feel free to edit and edit):

以下是提供模板的特定应用程序(可随意编辑和编辑):

That said, there are plenty of free, beautiful themes available, so why not just adapt one of those? If you need a commercial theme, I can recommend ThemeForest.

也就是说,有很多*,美丽的主题,所以为什么不适应其中一个呢?如果您需要商业主题,我可以推荐ThemeForest。