开发者

Is there web2py like admin in django

开发者 https://www.devze.com 2023-03-02 18:55 出处:网络
Here is what I wanted to do. I want to load django in virtual host with mod_wsgi with all available django projects. Practically what I want is

Here is what I wanted to do. I want to load django in virtual host with mod_wsgi with all available django projects. Practically what I want is

I have all my django projects inside a directory say $HOME/mydjango. I will load all the directory listing into views as base url and each directory will be accessed as say something lik开发者_如何学Goe localhost/{{django_app_name}}. I think I can overwrite the DJANGO_SETTINGS_MODULE with directory settings and chdir in my views. But I am stuck at how to check which app is requested so that I can load module of that app for such request. I am newbie so any help is appreciated. I hope I am clear with my question.

It's not toally like web2py's admin but if someone know of similar thing, I will be happy if you point me towards that as well.

Thanks in advance


Yes there is. A bit more limited yet serves the purpose pretty well. http://sramana.in/web2py-instant-admin/

0

精彩评论

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