Open your terminal.
In the root directory run the command:
sudo nano /etc/bluetooth/main.conf
| # Stop all containers | |
| docker stop `docker ps -qa` | |
| # Remove all containers | |
| docker rm `docker ps -qa` | |
| # Remove all images | |
| docker rmi -f `docker images -qa ` | |
| # Remove all volumes |
| import africastalking | |
| username = "africa username" # use 'sandbox' for development in the test environment | |
| # use your sandbox app API key for development in the test environment | |
| api_key = "africa's talking api key" | |
| africastalking.initialize(username, api_key) | |
| # # Use the service synchronously |
| # users/admin.py | |
| from django.contrib import admin | |
| from django.contrib.auth import get_user_model | |
| from django.contrib.auth.admin import UserAdmin | |
| from .forms import CustomUserCreationForm, CustomUserChangeForm | |
| from .models import CustomUser | |
| class CustomUserAdmin(UserAdmin): | |
| add_form = CustomUserCreationForm |