title: AttributeError: module 'collection.views' has no attribute 'create_word'
body: <p>I am attempting to create route for a form that will allow users to create their own words for a dictionary.</p>
  
  <p>I keep receiving the following error <code>AttributeError: module 'collection.views' has no attribute 'create_word'</code> every time I attempt to run local server </p>
  
  <p>Error calls attention to this line of code within the urls.py</p>
  
  <pre><code>path('accounts/create_word/', views.create_word, name='registration_create_word'),
  </code></pre>
  
  <p>Not sure what is the issue since I have defined the create_word method located within the views.py</p>
  
  <pre><code>def create_word(request):
          form_class = WordForm
          # if users are coming from a submitted form, do this
          if request.method == 'POST':
              #grab the data from the submitted form and apply it to the form
              form = form_class(request.POST)
              if form.is_valid():
                  #create an instance but don't save
                  word = form.save(commit=False)
                  #set additional details
                  word.user = request.user
                  user.slug = slugify(word.name)
                  #save the object
                  word.save()
                  # redirect to newly created word object
                  return redirect('word_detail', slug=word.slug)
              #otherwise create the form
              else:
                  form = form_class()
  
              return render(request, 'words/create_word.html', {
                  'form': form,
              })
  </code></pre>
  
  <p>I also believe that I correctly imported the collection views</p>
  
  <pre><code>from collection.backends import MyRegistrationView
  from collection import views
  </code></pre>
  
  <p>Would greatly appreciate some clarification on what I am missing or doing wrong</p>