Re: Django models relation about user user_group asset asset group

2015-09-17 Thread
I think you shoud use ForeignKey. 2015-09-17 23:49 GMT+08:00 周建华 : > I have design the base model like this: > > class User > some user attr > > class UserGroup > some user_group attr > > class Asset >... > > class AssetGroup >... > > > I want to authorize asset and asset_group to

Re: Easy to use graphical reporting tools for SQL

2015-07-20 Thread
Maybe you can try navicat. http://www.navicat.com/ 2015-07-21 5:09 GMT+08:00 Kevin : > In our office we have a Django application that uses a MySQL database. > Often I am asked to produce various reports that can range from being basic > dumps of query results or aggregate computations on query r

Re: Developing in windows

2007-06-30 Thread
I think you didn't run the commad in your Django-0.96 directory "python setup.py", It will copy the django-0.96 to c:\python25\lib\site-packages\, You can try it On Jul 1, 12:54 am, Jim <[EMAIL PROTECTED]> wrote: > I know, it's not really a good idea, but my linux machine is not > available righ

Re: I get a error as follow

2007-06-30 Thread
han. I'm a newbie, I've got it, thank you very much On Jun 30, 6:08 pm, Horst Gutmann <[EMAIL PROTECTED]> wrote: > 段叶飞 wrote: > > Request Method: POST > > Request URL:http://127.0.0.1/topic/add/ > > Exception Type: TypeError > > Exception Value: u

I get a error as follow

2007-06-30 Thread
Request Method: POST Request URL: http://127.0.0.1/topic/add/ Exception Type: TypeError Exception Value: unsupported operand type(s) for +: 'NoneType' and 'int' Exception Location: E:\Django Workspace\mybar\..\mybar\bar\views.py in add_topic, line 71 Python Executable: E:\Python25\python.exe Pytho