Commit f8e57f39 authored by stef's avatar stef
Browse files

[enh] full ids for enums

parent 565bf022
...@@ -32,20 +32,20 @@ COUNTRIES = ( ...@@ -32,20 +32,20 @@ COUNTRIES = (
) )
RESOURCES = ( RESOURCES = (
('1', _('port')), ('port', _('port')),
('2', _('protocol')), ('protocol', _('protocol')),
('3', _('service')), ('service', _('service')),
('4', _('site')), ('site', _('site')),
('5', _('user')), ('user', _('user')),
('6', _('ip')), ('ip', _('ip')),
) )
TYPES = ( TYPES = (
('1', _('Blocking')), ('blocking', _('Blocking')),
('2', _('Throttling')), ('throttling', _('Throttling')),
) )
MEDIA = ( MEDIA = (
('1', _('Fixed')), ('fixed', _('Fixed')),
('2', _('Mobile')), ('mobile', _('Mobile')),
) )
class Attachment(models.Model): class Attachment(models.Model):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment