Skip to content

Commit

Permalink
fix: readme typo
Browse files Browse the repository at this point in the history
  • Loading branch information
keshavmohta009 committed Apr 8, 2024
1 parent 7872642 commit b64c13f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ from .models import MyModel # Import your models
from .views import MyView # Import your views
```

To refresh the materialized views you can refresh method.
To refresh the materialized views you can use refresh method.
```python
MyMaterializedView.refresh()
```
Expand All @@ -81,7 +81,7 @@ To refresh the materialized views you can refresh method.
After defining your views, you'll need to generate migrations to apply these changes to your database schema. Use Django's `makemigrations` and `migrate` command to generate migration files:

```shell
python manage.py makemigrations # This will all the required migrations
python manage.py makemigrations # This will create all the required migrations
python manage.py migrate # This will create all the views and models based on the migration
```

Expand Down

0 comments on commit b64c13f

Please sign in to comment.