Skip to content
View ishakoktn's full-sized avatar
  • Konya, Turkey

Block or report ishakoktn

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ishakoktn/README.md

Hi there 👋

I mostly share Gists about the Django ecosystem here!

Pinned Loading

  1. django-admin-search-fields Public

    Django Admin Search Fields allows users to dynamically selecting search fields on list page

    Python 2 1

  2. Django Parler Serializer To Take Onl...
    1
    from django.conf import settings
    2
    
                  
    3
    LANGUAGES_CODES = [code for code, _ in settings.LANGUAGES]
    4
    DEFAULT_LANG = settings.PARLER_LANGUAGES['default'].get('fallback')
    5
    
                  
  3. Accept Base64 Image with Django Parl...
    1
    from rest_framework import serializers
    2
    from django.db import models
    3
    
                  
    4
    from drf_extra_fields.fields import Base64ImageField
    5
    from parler.models import TranslatableModelMixin, TranslatedFieldsModel
  4. Django Channels Authanticate User Wi...
    1
    # inspired by https://hashnode.com/post/using-django-drf-jwt-authentication-with-django-channels-cjzy5ffqs0013rus1yb9huxvl
    2
    # Caution! This is not secure for long live auth tokens.
    3
    
                  
    4
    # costum_middleware.py
    5
    from rest_framework_simplejwt.tokens import UntypedToken