[GH-ISSUE #25] Flask-admin version #10

Closed
opened 2026-02-26 01:32:53 +03:00 by kerem · 2 comments
Owner

Originally created by @filmackay on GitHub (Jan 25, 2016).
Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/25

We seem to be using an old flask-admin version, is this intentional? I am finding the admin page looks very strange, and wondering if I am using a vastly newer version - with regressions.

Jeff, what are you on?

Originally created by @filmackay on GitHub (Jan 25, 2016). Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/25 We seem to be using an old flask-admin version, is this intentional? I am finding the admin page looks very strange, and wondering if I am using a vastly newer version - with regressions. Jeff, what are you on?
kerem closed this issue 2026-02-26 01:32:53 +03:00
Author
Owner

@filmackay commented on GitHub (Jan 26, 2016):

I figured out the strange look of my admin interface. I am packaging this with the conda package manager (meta.yaml) - I don't think it supports the package_data={'sandman2': ['templates/**.html']}, format in setup.py - leaving out the /admin/ directory. Much nicer now.

The only gripe I have with flask-admin now is not displaying any primary keys in the view/edit forms. Also not providing a more sensible default __unicode__ / __str__ implementation on the models.

<!-- gh-comment-id:174917876 --> @filmackay commented on GitHub (Jan 26, 2016): I figured out the strange look of my admin interface. I am packaging this with the conda package manager (meta.yaml) - I don't think it supports the `package_data={'sandman2': ['templates/**.html']},` format in `setup.py` - leaving out the `/admin/` directory. Much nicer now. The only gripe I have with flask-admin now is not displaying any primary keys in the view/edit forms. Also not providing a more sensible default `__unicode__` / `__str__` implementation on the models.
Author
Owner

@filmackay commented on GitHub (Jan 26, 2016):

Looks like a conda bug. See https://github.com/conda/conda/issues/1993

<!-- gh-comment-id:174931643 --> @filmackay commented on GitHub (Jan 26, 2016): Looks like a conda bug. See https://github.com/conda/conda/issues/1993
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sandman2-jeffknupp#10
No description provided.