Permalink
Please sign in to comment.
Showing
with
44 additions
and 14 deletions.
- +3 −1 app/settings.py
- +4 −1 home/models.py
- +21 −2 home/views.py
- +16 −10 templates/home.html
| @@ -1,3 +1,6 @@ | |||
| from django.db import models | |||
|
|
|||
| # Create your models here. | |||
| class Image(models.Model): | |||
| file = models.FileField(upload_to='images/%Y/%m/%d') | |||
|
|
|||
|
|
|||
0 comments on commit
6cb7336