Skip to content

Commit

Permalink
docs: add missing imports in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sumit4613 authored and lucbelliveau committed Jan 26, 2023
1 parent edf3435 commit b61cb85
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ This Django app provides a client-side autocomplete component powered by
1. Use either the widget or class to create components!

```python
from django forms
from django.db import models
from autocomplete import HTMXAutoComplete, widgets

# Example models
class Person(models.Model):
name = models.CharField(max_length=60)
Expand Down Expand Up @@ -96,4 +100,4 @@ This Django app provides a client-side autocomplete component powered by
</script>
</body>
</html>
```
```

0 comments on commit b61cb85

Please sign in to comment.