Skip to content

Commit

Permalink
Removing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LewisFletcher committed Mar 22, 2024
1 parent dbdfe0f commit 891772c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion easy_docs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def create_documentation(request):
if request.method == 'POST':
form = DocumentationForm(request.POST, initial={'reference_url': request.POST.get('reference_url')})
if form.is_valid():
form.save()
documentation = form.save()
messages.success(request, 'Documentation created successfully!')
return render(request, 'doc_modal.html', {'documentation': documentation})
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='django-easy-docs',
version='2.0.2',
version='2.0.3',
packages=find_packages(exclude=['*.migrations', '*.migrations.*', 'migrations.*', 'migrations', 'docs', 'docs.*']),
url='https://github.com/LewisFletcher/django-easy-docs',
author='Lewis Fletcher',
Expand Down

0 comments on commit 891772c

Please sign in to comment.