mirror of
https://github.com/GFDRR/sms-lapli.git
synced 2026-11-13 17:52:10 +00:00
10 lines
460 B
Python
10 lines
460 B
Python
# __author__ = 'alexing'
|
|
|
|
# from hydromet.models import Observation
|
|
# from django.contrib.auth.models import Group, Permission
|
|
# from django.contrib.contenttypes.models import ContentType
|
|
|
|
# content_type = ContentType.objects.get_for_model(Observation)
|
|
# permission = Permission.objects.create(codename='can_validate',
|
|
# name='Can validate observation',
|
|
# content_type=content_type) |