get rid of is_admin(), instead check for django permissions. a couple things were using is_admin(), so now there's an example of the permission adding and usage, as those were ported |
||
---|---|---|
.. | ||
__init__.py | ||
0001_initial.py | ||
0002_botadmin_ircplugin.py | ||
0003_auto_20150512_1934.py | ||
0004_alias.py | ||
0005_auto_20150514_2317.py | ||
0006_auto_20150515_2141.py | ||
0007_auto_20150519_2156.py | ||
0008_auto_20150521_2113.py | ||
0009_botadmin_user.py | ||
0010_auto_20150620_0930.py | ||
0011_auto_20150620_0951.py |