Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixins do widoku do Autocomplete #6

Open
mik-laj opened this issue Aug 13, 2017 · 3 comments
Open

Mixins do widoku do Autocomplete #6

mik-laj opened this issue Aug 13, 2017 · 3 comments

Comments

@mik-laj
Copy link

mik-laj commented Aug 13, 2017

Szanowny,

Proponowałbym dodać
KlubJagiellonski/pola-backend@17d6f21
do biblioteki.

Z wyrazami szacunku

@ad-m
Copy link
Owner

ad-m commented Aug 13, 2017

Hmm…? Ukradłeś mój kod i teraz mi go polecasz?

@mik-laj
Copy link
Author

mik-laj commented Aug 13, 2017

Tak.
Kod źródłowy jest dostępny:
https://github.com/watchdogpolska/poradnia/blob/master/poradnia/utils/mixins.py#L6-L19
Ale ja go ciut udoskonaliłem.

@mik-laj
Copy link
Author

mik-laj commented Aug 14, 2017

W sumie, jeśli dopasuje się go zgodnie z konwencja Django to można dodać do biblioteki.
Podrzucam, jak to jest robione w core.
https://github.com/django/django/blob/c19b56f633e172b3c02094cbe12d28865ee57772/django/contrib/admin/options.py#L887-L918

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants