Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
digitale Methoden
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
forschungslabor_digitale_Methoden
digitale Methoden
Commits
be651b69
Commit
be651b69
authored
6 years ago
by
Gallenkamp, Fabian
Browse files
Options
Downloads
Patches
Plain Diff
Various
parent
8acdac67
No related branches found
No related tags found
No related merge requests found
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.md
+2
-0
2 additions, 0 deletions
README.md
README.rst
+0
-27
0 additions, 27 deletions
README.rst
app.py
+366
-65
366 additions, 65 deletions
app.py
sample_db.sqlite
+0
-0
0 additions, 0 deletions
sample_db.sqlite
templates/export/MethodsList.jinja2
+10
-0
10 additions, 0 deletions
templates/export/MethodsList.jinja2
with
378 additions
and
92 deletions
README.md
+
2
−
0
View file @
be651b69
# digital methods
Please visit the
[
Wiki
](
../../wiki
)
!
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.rst
deleted
100644 → 0
+
0
−
27
View file @
8acdac67
SQLAlchemy model backend integration examples.
To run this example:
1. Clone the repository::
git clone https://github.com/flask-admin/flask-admin.git
cd flask-admin
2. Create and activate a virtual environment::
virtualenv env
source env/bin/activate
3. Install requirements::
pip install -r 'examples/sqla/requirements.txt'
4. Run the application::
python examples/sqla/app.py
The first time you run this example, a sample sqlite database gets populated automatically. To suppress this behaviour,
comment the following lines in app.py:::
if not os.path.exists(database_path):
build_sample_db()
This diff is collapsed.
Click to expand it.
app.py
+
366
−
65
View file @
be651b69
This diff is collapsed.
Click to expand it.
sample_db.sqlite
+
0
−
0
View file @
be651b69
No preview for this file type
This diff is collapsed.
Click to expand it.
templates/export/MethodsList.jinja2
0 → 100644
+
10
−
0
View file @
be651b69
:toc:
:toclevels: 8
:toc-title: Table of contents (work in progress: this list is preliminary and will be updated continuously)
:sectnums:
:sectnumlevels: 8
{% for method in methods %}
{% for l in range(method.level+1) %}={% endfor %} {{ method.name }}
{{method.description}}
{% endfor %}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment