question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typo in model docs - delete instead of save call

See original GitHub issue

Hi there!

I think I maybe have found a tiny bug in the docs. Have a look at the following page:

https://www.django-unicorn.com/docs/django-models/

In the models.py exaple lives this code:

def save(self, book_to_save: Book):
        book_to_save.delete()

I guess that should be “save” instead of “delete”?

I tried to fix it myself but unfortuately couldn’t find the docs in the repo.

Best regards Ronny

PS: Nice talk yesterday at the djangoCon Europe!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
adamghillcommented, Jun 4, 2021

@all-contributors please add @GitRon for doc

1reaction
adamghillcommented, Jun 4, 2021

Thanks for the catch! I am just pushing the documentation site out with this fix: https://github.com/adamghill/django-unicorn.com/commit/a71598840617c32f93689cbf56ffd1d2160c364e.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Typo handling - ServiceNow Docs
How search works: Punctuation and capital letters are ignored. Special characters like underscores (_) are removed.
Read more >
How To Recover a Deleted Worksheet in Excel (With Steps)
1. Check your Trash folder · 2. Open the Info tab of the File menu · 3. Find the Manage Versions tab ·...
Read more >
Ask Techie: How Do I Recover a File I Accidentally “Saved ...
This month we answer readers' questions about how to recover a file you accidentally “saved over,” how to fix a typo on your...
Read more >
Delete and restore files in Google Drive - Android
Recover a file from trash · In the upper left, tap Menu Menu and then Trash. · Next to the file you'd like...
Read more >
How To Restore Deleted Files in Windows 10 | HP® Tech Takes
You're cleaning up your hard drive and you accidentally delete a file. It's an incredibly easy mistake to make, especially when you consider ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found