title: Django Blog Not all Data being imported
body: <p>I am currently working on my first django project "not following a tutorial". I'm creating a blog and trying to get all my pictures &amp; post data to import into post. I am getting some info to import, but not all. Specifically, my images and date are not getting populated into post.  </p>
  
  <p>views.py --------------------------------</p>
  
  <pre><code>     def home(request):
          context= {
              'posts' : Post.objects.all(),
              'comment': Comment.objects.all(),
          }
          return render(request, 'blog/home.html', context)
  
  
      def base(request):
          return render(request, 'blog/test.html')
  
  class ArticleDetailView(DetailView):
      model = Post
      template_name = 'blog/standard.html'
  </code></pre>
  
  <p>------ my html page </p>
  
  <pre><code> {% extends 'blog/base.html' %}
  {% load static %}
  
  {% block content %}
          &lt;section class="main-content"&gt;
              &lt;div class="padding"&gt;
                  &lt;div class="container"&gt;
                      &lt;div class="row"&gt;
                          &lt;div class="col-sm-8"&gt;
                              &lt;div class="single-post"&gt;
                                  &lt;div class="type-standard"&gt;
                                      &lt;article class="post type-post"&gt;
                                          &lt;div class="top-content text-center"&gt;
                                              &lt;span class="category"&gt;&lt;a href="categories.html"&gt;{{ post.category }}&lt;/a&gt;&lt;/span&gt;&lt;!-- /.category --&gt;
                                              &lt;h2 class="entry-title"&gt;&lt;a href="standard.html"&gt;{{ post.title }}&lt;/a&gt;&lt;/h2&gt;&lt;!-- /.entry-title --&gt;
                                              &lt;span class="time"&gt;&lt;time&gt;{{ post.date_posted|date:"F d, Y" }&lt;/time&gt;&lt;/span&gt;&lt;!-- /.time --&gt;
                                          &lt;/div&gt;&lt;!-- /.top-content --&gt; 
  
                                          &lt;div class="entry-thumbnail"&gt;&lt;img src="{post.image.url }"&gt;&lt;/div&gt;&lt;!-- /.entry-thumbnail --&gt;
  
                                          &lt;div class="entry-content"&gt;
  
                                              {{ post.content }}
  
                                              &lt;div class="post-meta"&gt;
                                                  &lt;span class="comments pull-left"&gt;&lt;i class="icon_comment_alt"&gt;&lt;/i&gt; &lt;a href="#"&gt;4 Comments&lt;/a&gt;&lt;/span&gt;&lt;!-- /.comments --&gt;
                                                  &lt;span class="post-social pull-right"&gt;
                                                      &lt;a href="#"&gt;&lt;i class="fa fa-instagram"&gt;&lt;/i&gt;&lt;/a&gt;
                                                      &lt;a href="#"&gt;&lt;i class="fa fa-facebook"&gt;&lt;/i&gt;&lt;/a&gt;
                                                      &lt;a href="#"&gt;&lt;i class="fa fa-twitter"&gt;&lt;/i&gt;&lt;/a&gt;
                                                      &lt;a href="#"&gt;&lt;i class="fa fa-pinterest-p"&gt;&lt;/i&gt;&lt;/a&gt;
                                                  &lt;/span&gt;&lt;!-- /.post-social --&gt;
                                              &lt;/div&gt;&lt;!-- /.post-meta --&gt;
                                          &lt;/div&gt;&lt;!-- /.entry-content --&gt;
                                      &lt;/article&gt;&lt;!-- /.post --&gt;
                                  &lt;/div&gt;&lt;!-- /.type-standard --&gt;
  
                                  &lt;div class="author-bio media"&gt;
                                      &lt;div class="author-avatar media-left pull-left"&gt;&lt;img class="img-circle" src="http://demos-jeweltheme.ipunu91y.maxcdn-edge.com/sasha/images/single/au.jpg" alt="Avatar"&gt;&lt;/div&gt;&lt;!-- /.author-avatar --&gt;
                                      &lt;div class="author-details media-body"&gt;
                                          &lt;h3 class="name"&gt;&lt;a href="#"&gt;{{post.author}}&lt;/a&gt;&lt;/h3&gt;
                                          &lt;p&gt;
                                              Donec sed elementum mi. Duis mattis dolor ante, eleifend dapibus ipsum pellentesque venenatis. Nullam elementum ligula et rhoncus interdum. In malesuada 
                                          &lt;/p&gt;
                                          &lt;div class="social"&gt;
                                              &lt;a href="#"&gt;&lt;i class="fa fa-twitter"&gt;&lt;/i&gt;&lt;/a&gt;
                                              &lt;a href="#"&gt;&lt;i class="fa fa-pinterest-p"&gt;&lt;/i&gt;&lt;/a&gt;
                                              &lt;a href="#"&gt;&lt;i class="fa fa-facebook"&gt;&lt;/i&gt;&lt;/a&gt;
                                              &lt;a href="#"&gt;&lt;i class="fa fa-google-plus"&gt;&lt;/i&gt;&lt;/a&gt;
                                              &lt;a href="#"&gt;&lt;i class="fa fa-instagram"&gt;&lt;/i&gt;&lt;/a&gt;
                                          &lt;/div&gt;&lt;!-- /.social --&gt;
                                      &lt;/div&gt;&lt;!-- /.author-details --&gt;
                                  &lt;/div&gt;&lt;!-- /.author-bio --&gt;
  
                                  &lt;nav class="post-navigation" role="navigation"&gt;
                                      &lt;div class="nav-links prev pull-left"&gt;
                                          &lt;span class="meta-nav"&gt;&lt;i class="fa fa-angle-left"&gt;&lt;/i&gt;&lt;/span&gt;
  
                                          &lt;article class="post type-post media"&gt;
                                              &lt;div class="entry-thumbnail media-left pull-left"&gt;
                                                  &lt;a href="image.html"&gt;&lt;img src="http://demos-jeweltheme.ipunu91y.maxcdn-edge.com/sasha/images/single/n1.jpg" alt="Thumb Image"&gt;&lt;/a&gt;
                                              &lt;/div&gt;&lt;!-- /.entry-thumbnail --&gt;
                                              &lt;div class="entry-content media-body"&gt; 
                                                  &lt;h3 class="entry-title"&gt;&lt;a href="image.html"&gt;Cruise to Alaska&lt;/a&gt;&lt;/h3&gt;
                                                  &lt;span class="time"&gt;&lt;time datetime="2017-12-05"&gt;May 12, 2017&lt;/time&gt;&lt;/span&gt;&lt;!-- /.time --&gt;
                                              &lt;/div&gt;&lt;!-- /.entry-content --&gt;
                                          &lt;/article&gt;
                                      &lt;/div&gt;&lt;!-- .nav-links --&gt;
  
                                      &lt;div class="nav-links next pull-right"&gt;
                                          &lt;span class="meta-nav"&gt;&lt;i class="fa fa-angle-right"&gt;&lt;/i&gt;&lt;/span&gt;
                                          &lt;article class="post type-post media text-right"&gt;
                                              &lt;div class="entry-thumbnail media-left pull-right"&gt;
                                                  &lt;a href="gallery.html"&gt;&lt;img src="http://demos-jeweltheme.ipunu91y.maxcdn-edge.com/sasha/images/single/n2.jpg" alt="Thumb Image"&gt;&lt;/a&gt;
                                              &lt;/div&gt;&lt;!-- /.entry-thumbnail --&gt;
                                              &lt;div class="entry-content media-body"&gt;
                                                  &lt;h3 class="entry-title"&gt;&lt;a href="gallery.html"&gt;Cruising into Spring&lt;/a&gt;&lt;/h3&gt;
                                                  &lt;span class="time"&gt;&lt;time datetime="2017-12-05"&gt;May 12, 2017&lt;/time&gt;&lt;/span&gt;&lt;!-- /.time --&gt;
                                              &lt;/div&gt;&lt;!-- /.entry-content --&gt;
                                          &lt;/article&gt;        
                                      &lt;/div&gt;&lt;!-- .nav-links --&gt;
                                  &lt;/nav&gt;&lt;!-- /.post-navigation --&gt;
  </code></pre>
  
  <hr>
  
  <p>setting.py </p>
  
  <pre><code>  STATIC_URL = '/static/'
  
  MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
  MEDIA_URL = 'media/'
  
  STATICFILES_DIRS= [
      os.path.join(BASE_DIR, 'static')
  ]
  </code></pre>
  
  <hr>
  
  <p>My URL link </p>
  
  <pre><code>urlpatterns = [
     path('', views.home, name='blog-home' ),
     path('base/', views.base, name='blog-base' ),
     path('contact/', views.contact, name='contact' ),
     path('deals/&lt;int:pk&gt;', ArticleDetailView.as_view(), name='article-detail'),
  
  
  ]
  </code></pre>
  
  <p>models.py ---------------------------</p>
  
  <pre><code>class Post(models.Model):
      title = models.CharField(max_length=100)
      content = models.TextField()
      date_posted = models.DateTimeField(default=timezone.now)
      author = models.ForeignKey(User, on_delete=models.CASCADE)
      category = models.CharField(max_length=100)
      featured = models.BooleanField()
      image = models.ImageField(default='2.jpg', upload_to='media')
  
      def __str__(self):
          return self.title
  </code></pre>