title: My django modelform not showing any inputfields
body: <p>Currently i'm following a tutorial about django. But now im stuck in the process of creating forms in django. 
  I watched a lot of tutorials and i have read the django docs, but i couldn't fix my problem so far. </p>
  
  <p>i try to create a form from a model from my database</p>
  
  <p>Here is my code: </p>
  
  <p>models.py</p>
  
  <pre><code>class Order(models.Model):
    STATUS = (
        ('Pending', 'Pending'),
        ('Out of Delivery', 'Out of Delivery'),
        ('Delivered', 'Delivered')
    )
    customer = models.ForeignKey(Customer, null=True, on_delete=models.SET_NULL)
    product = models.ForeignKey(Product, null=True, on_delete=models.SET_NULL)
    date_created = models.DateTimeField(auto_now_add=True, null=True)
    status = models.CharField(max_length=200, null=True, choices=STATUS)
  </code></pre>
  
  <p>views.py</p>
  
  <pre><code>from django.shortcuts import render
  from .models import *
  from .forms import OrderForm
  
  def create_order(request):
     form = OrderForm()
     context = {
        'form': form
     }
     return render(request, 'accounts/create_order.html', context)
  </code></pre>
  
  <p>forms.py</p>
  
  <pre><code>from django.forms import ModelForm
  from .models import *
  
  
  class OrderForm(ModelForm):
     class Meta:
        model = Order
        fields = '__all__'
  </code></pre>
  
  <p>create_order.html</p>
  
  <pre><code>{% extends 'accounts/main.html'%}
  {% block content%}
  &lt;form action="" method="POST"&gt;
    {% csrf_token%}
    {{form.as_p}}
  &lt;/form&gt;
  {% endblock %}
  </code></pre>
  
  <p>The problem is, that the create_order.html shows me the labels of my form but not the input fields and i don't know why. 
  i add a picture of my browser, so you an see what i mean. 
  i would appreciate if anybody could help me with my problem</p>
  
  <p><a href="https://i.stack.imgur.com/x97lh.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x97lh.jpg" alt="django Browser image"></a></p>