aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2012-08-16 16:21:00 +0300
committerSlava Bacherikov <slava@bacher09.org>2012-08-16 16:21:00 +0300
commite5baa17bb7d8194dce2afb9a942eb320495d957d (patch)
tree5ac3750f881056c7378c7c951f762fc1af9b9fc3
parentImprove generic tests (diff)
downloadgentoo-packages-e5baa17bb7d8194dce2afb9a942eb320495d957d.tar.gz
gentoo-packages-e5baa17bb7d8194dce2afb9a942eb320495d957d.tar.bz2
gentoo-packages-e5baa17bb7d8194dce2afb9a942eb320495d957d.zip
Make is_dev field not editable
-rw-r--r--gpackages/apps/packages/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpackages/apps/packages/models.py b/gpackages/apps/packages/models.py
index 1e2cac5..43293b0 100644
--- a/gpackages/apps/packages/models.py
+++ b/gpackages/apps/packages/models.py
@@ -271,7 +271,7 @@ class MaintainerModel(StatsModel, AbstractDateTimeModel):
name = models.CharField(max_length = 255, blank = True, null = True)
email = models.EmailField(unique = True, validators = [validate_email], db_index = True)
- is_dev = models.BooleanField(default = False)
+ is_dev = models.BooleanField(default = False, editable = False)
# Autogenerated fields for fast stats
# herds_count packages_count ebuilds_count repositories_count