dr.botzo/dr_botzo/twitter/migrations/0003_auto_20150620_0951.py
Brian S. Stephan 772df777ba ircbot: tie bot users to django auth user, part 3
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
2015-06-20 10:08:51 -05:00

19 lines
416 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('twitter', '0002_auto_20150616_2022'),
]
operations = [
migrations.AlterModelOptions(
name='twitterclient',
options={'permissions': (('send_tweets', 'Can send tweets via IRC'),)},
),
]