Commit 7d875f40 authored by asu1996's avatar asu1996
Browse files

deleted extra lines

parent 8d89a397
......@@ -19,7 +19,7 @@ delete.short_description = "Delete account requests"
@admin.register(GitlabAccountRequest)
class GitlabAccountRequestAdmin(admin.ModelAdmin):
fields = ('username', 'email', 'approved', 'reason')
list_display = ('username', 'email', 'approved', 'reason', 'created_date')
list_display = ('username', 'email', 'approved', 'reason')
actions = [approve, delete]
def has_delete_permission(self, request, obj=None):
......
......@@ -22,7 +22,6 @@ class GitlabAccountRequest(models.Model):
email = models.EmailField()
reason = models.CharField(max_length=256)
approved = models.BooleanField(default=False)
created_date = models.DateTimeField(auto_now_add=True)
class GitlabAccountRequestForm(forms.ModelForm):
class Meta:
......
Markdown is supported
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