Browse Source

Fix typos of base/models.py (#11682)

dambor05 1 year ago
parent
commit
952416cfbc

+ 1 - 0
CONTRIBUTORS.md

@@ -801,6 +801,7 @@
 * Adrien Hamraoui
 * Maikel Martens
 * EK303
+* Damian
 
 ## Translators
 

+ 1 - 1
docs/tutorial/create-footer_for_all_pages.md

@@ -138,7 +138,7 @@ Now, reload your [homepage](http://127.0.0.1:8000). You'll see your social media
 
 Having only your social media links in your portfolio footer isn't ideal. You can add other items, like site credits and copyright notices, to your footer. One way to do this is to use the Wagtail [snippet](../topics/snippets/index.md) feature to create an editable footer text in your admin interface and display it in your site's footer.
 
-To add a footer text snippet to your admin interface, modify your `base/model.py` file as follows:
+To add a footer text snippet to your admin interface, modify your `base/models.py` file as follows:
 
 ```python
 from django.db import models

+ 1 - 1
docs/tutorial/customize_homepage.md

@@ -12,7 +12,7 @@ When building your portfolio website, the first step is to set up and personaliz
 
 In this section, you'll learn how to add features **1** through **4** to your homepage. You'll add your resume or CV later in the tutorial.
 
-Now, modify your `home/models` file to include the following:
+Now, modify your `home/models.py` file to include the following:
 
 ```python
 from django.db import models