File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ class BinaryDemoModel(db.Document):
10
10
binary_field = db .BinaryField ()
11
11
binary_field_with_default = db .BinaryField (default = lambda : "foobar" .encode ("utf-8" ))
12
12
file_field = db .FileField ()
13
+ image_field = db .ImageField ()
13
14
14
15
15
16
def binary_demo_view (pk = None ):
Original file line number Diff line number Diff line change 23
23
< li > < a href ="{{ url_for( "dates_demo_view ") }}"> DateTime demo</ a > </ li >
24
24
< li > < a href ="{{ url_for( "boolean_demo_view ") }}"> Booleans demo</ a > </ li >
25
25
< li > < a href ="{{ url_for( "dict_demo_view ") }}"> Dict/Json demo</ a > </ li >
26
- < li > < a href ="{{ url_for( "binary_demo_view ") }}"> Binary demo</ a > </ li >
26
+ < li > < a href ="{{ url_for( "binary_demo_view ") }}"> Binary/Files/Images demo</ a > </ li >
27
27
</ ul >
28
28
</ nav >
29
29
< div >
You can’t perform that action at this time.
0 commit comments