Coder Social home page Coder Social logo

globophobe / django-semantic-admin Goto Github PK

View Code? Open in Web Editor NEW
118.0 2.0 8.0 11.61 MB

✨ Django Semantic UI admin theme

Home Page: https://semantic-admin.com

License: MIT License

Python 33.77% JavaScript 26.09% CSS 1.57% HTML 38.25% Dockerfile 0.33%
django semantic-ui admin

django-semantic-admin's Introduction

Hi there 👋

I'm a Canadian 🇨🇦 living in Japan 🇯🇵. Currently, I'm working remotely in Fintech.

I like ☕, 🎧, and focus time to get stuff done with Python, Django, JavaScript, Vue, and React.

Some stuff I've made in my free time:

Recent lightning talks:

Alex's GitHub stats Alex's GitHub stats

django-semantic-admin's People

Contributors

dependabot[bot] avatar globophobe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

django-semantic-admin's Issues

can't scroll down to select any option past the screen

Thanks for your effort and hardwork.

I noticed an issue in the Django admin.

I have a record admin that filters by country using list_filter = ["country"] with country being a foreign key relationship to Record model

Because I have about 100+ countries in my database, when I try to filter by a country (say Sao Tome), im unable to scroll down or search it if the options my screen is able to show is up to Maldives.

See example screenshots

Screenshot 1
image

As you can see in screenshot 1 above, the country list is up to Bahamas on my screen but i want to select Sao Tome.

Screenshot 2

image

I can scroll using my mouse on the remaining options

The issue here is that I am unable to scroll down to Sao Tome because the admin is only showing options until Maldives. not sure if its automatically puting a limit on how many select options are visible

Autocomplete

Autocomplete get_extra_restriction() missing 1 required positional argument: 'related_alias'

Input type not defined on fields

It seems the input type isn't being set for most field types.
This partially breaks validation errors as inputs don't get the red background.

Only the "search" type has it (used in many-to-many rels).

run project

Please add README.md with installation steps.

Is there any way to roll this repository to an empty Django project? And are there any requirements.

Thank you for earlier )

Add `django-filter` to dependency list

Hi,

I created a new Django project, installed django-semantic-admin and added it in INSTALLED_APPS as described in the README.
On the first access to /admin a ModuleNotFoundError exception is raised:

ModuleNotFoundError: No module named 'django_filters'

As django-filter is used in two files (https://github.com/globophobe/django-semantic-admin/search?q=django_filters), I guess the library should be moved to Poetry's dependencies instead of dev-dependencies

django-filter = "^2.4.0"

Have no idea why my check all not work when using SemanticModelAdmin

As title,
when I change my admin model to SemanticModelAdmin
my check all box is not working anyway.

  • As image

image

But, if using DefaultModelAdmin, check all work again.

  • As image
    image

Very hard to debug,
because there is no console error in chrome and have not any error show up everywhere.

Please help me, thanks.

Customisation

Hi lovely idea, thank you for putting it together.

How would one override some of the styles to allow some of the fomantic classes to be customised?

DRF filter is filterset_class

filter_class was used, but perhaps filterset_class is better as DRF is quite popular.
Consider supporting both, with eventual filter_class deprecation

Edit: DRF originally used filter_class

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.