Skip to content
Snippets Groups Projects
Commit 1e2d74cf authored by Vlada Macek's avatar Vlada Macek
Browse files

Changed att.content field type because data with unspecified encoding are loaded often.

Fixed hidden checkbox in Firefox.
parent 53d5c5eb
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ class ArticleAttachment(models.Model):
content_type = models.TextField(blank=True)
content_id = models.CharField(max_length=750, blank=True)
content_alternative = models.CharField(max_length=150, blank=True)
content = models.TextField()
content = models.BinaryField()
create_time = models.DateTimeField()
create_by = models.ForeignKey('Users', db_column='create_by', related_name='%(class)s_create_by')
change_time = models.DateTimeField()
......
......@@ -126,9 +126,8 @@
background-color: #FFB85C !important;
}
INPUT[TYPE="CHECKBOX"] {
-moz-appearance: none;
width: 1.7em;
height: 1.7em;
width: 1.5em;
height: 1.5em;
}
INPUT.submit {
font-weight: bold;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment