百度空间 | 百度首页 
 
查看文章
 
Simple Admin App Launched
2009-02-02 09:05
Yesterday, I added a new app named Admin to Uliweb. You can use this simple app to explore some internal information of your project. If you want to use it, just run below command:

uliweb runadmin

This command will automatically add admin app to your project, so you can use http://localhost:8000/admin to visit admin app.

Of cause you can add 'uliweb.contrib.admin' to INSTALLED_APPS like normal apps, but above command shows that you can add new apps to SimpleFrame.Dispatcher class(it's the core application class of Uliweb). And in this app, I also used yaml css framework, and I also wrap it to a yaml app, so that you can use it in your project. But for now, yaml app just includes static files, so you should write your own layout template first, and arrange the basic layout in this file, maybe we can do better later, for example, provide some finished layout template. But for now you can see the yaml examples and copy them into your project.

So the admin app will depend on yaml app, and yaml app will depend on uliweb.contrib.staticfiles app. But you don't need to include all these app, just admin app enough, because Uliweb will automatically process these dependencies for you according the config.ini.

类别:Uliweb | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu