This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib.auth import get_user_model | |
from rest_framework import status, serializers | |
from rest_framework.decorators import api_view | |
from rest_framework.response import Response | |
class UserSerializer(serializers.ModelSerializer): | |
class Meta: | |
model = get_user_model() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="my_meta_control"> | |
<?php $mb->the_field('test_editor'); | |
$settings = array( | |
'textarea_rows' => '10', | |
'media_buttons' => 'false', | |
'tabindex' =>2 | |
); |