Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
c30802d5
Commit
c30802d5
authored
Aug 27, 2012
by
Serge S. Koval
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation fixes
parent
f1576a6b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
2 deletions
+9
-2
changelog.rst
doc/changelog.rst
+1
-1
form.html
examples/auth/templates/form.html
+2
-1
simple.py
examples/peewee/simple.py
+5
-0
__init__.py
flask_admin/__init__.py
+1
-0
No files found.
doc/changelog.rst
View file @
c30802d5
...
...
@@ -6,7 +6,7 @@ Changelog
* Peewee model backend
* Inline form administration interface for models a-la Django
* M
odel actions - methods that work with more than one model (for example - mass delete
)
* M
ass actions - methods that work with more than one item (for example - mass delete for models or files
)
* SQLAlchemy form scaffolding is now independent from the wtforms.ext.sqlalchemy helpers
* Added ability to mount administrative interface as a top-level folder
* Administrative interface can now be mounted as a subdomain
...
...
examples/auth/templates/form.html
View file @
c30802d5
...
...
@@ -2,7 +2,8 @@
<body>
<form
method=
"POST"
action=
""
>
{{ form.hidden_tag() }}
{% for f in form if f.label.text != 'Csrf' %}
{% for f in form if f.type != 'CSRFTokenField' %}
{{ f.type }}
<div>
{{ f.label }}
{{ f }}
...
...
examples/peewee/simple.py
View file @
c30802d5
...
...
@@ -67,6 +67,11 @@ class PostAdmin(peeweemodel.ModelView):
'date'
,
User
.
username
)
@
admin
.
action
(
'merge'
,
'Merge'
,
'Are you sure you want to merge selected models?'
)
def
action_combine
(
self
,
ids
):
pass
@
app
.
route
(
'/'
)
def
index
():
...
...
flask_admin/__init__.py
View file @
c30802d5
from
.base
import
expose
,
Admin
,
BaseView
,
AdminIndexView
from
.actions
import
action
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment