File tree Expand file tree Collapse file tree 4 files changed +37
-2
lines changed
Expand file tree Collapse file tree 4 files changed +37
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ Assumptions
1616Changelog
1717=========
1818
19+ 1.1.16
20+ ------
21+ * change max_length from 100 to 255 in email attachments - https://github.com/deployed/django-emailtemplates/pull/38
22+
19231.1.15
2024------
2125* ordering in email template & default subject from registry - https://github.com/deployed/django-emailtemplates/pull/37
Original file line number Diff line number Diff line change 1+ # Generated by Django 3.1.13 on 2022-11-03 14:06
2+
3+ from django .db import migrations , models
4+
5+
6+ class Migration (migrations .Migration ):
7+
8+ dependencies = [
9+ ("emailtemplates" , "0011_auto_20221026_0953" ),
10+ ]
11+
12+ operations = [
13+ migrations .AlterField (
14+ model_name = "emailattachment" ,
15+ name = "attachment_file" ,
16+ field = models .FileField (
17+ max_length = 255 ,
18+ upload_to = "emails/attachments/" ,
19+ verbose_name = "Attachment file" ,
20+ ),
21+ ),
22+ migrations .AlterField (
23+ model_name = "massemailattachment" ,
24+ name = "attachment_file" ,
25+ field = models .FileField (
26+ max_length = 255 ,
27+ upload_to = "emails/attachments/" ,
28+ verbose_name = "Attachment file" ,
29+ ),
30+ ),
31+ ]
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class BaseEmailAttachment(models.Model):
8787 )
8888 name = models .CharField (_ ("name" ), blank = True , max_length = 50 )
8989 attachment_file = models .FileField (
90- _ ("Attachment file" ), upload_to = "emails/attachments/"
90+ _ ("Attachment file" ), upload_to = "emails/attachments/" , max_length = 255
9191 )
9292 comment = models .TextField (
9393 verbose_name = _ ("Comment" ), blank = True , help_text = _ ("visible only in admin" )
Original file line number Diff line number Diff line change 1616
1717setup (
1818 name = 'django-emailtemplates' ,
19- version = '1.1.15 ' ,
19+ version = '1.1.16 ' ,
2020 packages = find_packages (),
2121 package_data = {'emailtemplates' : ['locale/*/LC_MESSAGES/*.po' , 'locale/*/LC_MESSAGES/*.mo' ]},
2222 include_package_data = True ,
You can’t perform that action at this time.
0 commit comments