Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bepetersn authored Aug 19, 2019
1 parent 5b4ef0c commit ef382f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ app.register_blueprint(SecureAdminBlueprint(
Add sqlsoup models to your admin view by passing a list of their names
as a third argument to `SecureAdminBlueprint`, and a list of view options
for customization of these model views as a fourth argument:

```python
app.register_blueprint(SecureAdminBlueprint(
name='Your Project Name',
url_prefix='secure-admin'
Expand All @@ -42,6 +42,7 @@ for customization of these model views as a fourth argument:
form_overrides=dict(filename=FileUploadField)
)
], {}, {}))
```

See https://flask-admin.readthedocs.io/en/latest/api/mod_contrib_sqla/#flask_admin.contrib.sqla.ModelView
and its parent class, https://flask-admin.readthedocs.io/en/latest/api/mod_model/#flask_admin.model.BaseModelView,
Expand Down

0 comments on commit ef382f6

Please sign in to comment.