Explore >> Select a destination


You are here

www.laceyhenschel.com
| | markodenic.com
12.9 parsecs away

Travel
| | Free programming books, algorithms, public APIs, and much more.
| | www.rasulkireev.com
8.4 parsecs away

Travel
| | Whenever you building a site with Django that will have user authentication, it is recommended to create a Custom User Model, before the first migration. Sometimes you forget to do that. In this case you have to follow a strict procedure, which I'll show you in the post.
| | jinyuz.dev
4.6 parsecs away

Travel
| | Often, I forget how to display the raw SQL of a queryset in Django. This is a quick and easy example of how to do it from django.contrib.auth.models import User qs = User.objects.all() print(qs.query) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user"
| | www.mattlayman.com
54.6 parsecs away

Travel
| Are you tired of manually tracking changes to your Django models? Say hello to django-simple-history! This powerful package allows you to easily keep track of modifications made to your models over time. With django-simple-history, you can retrieve historical records for a model, track changes made by different users, and display historical data in the Django admin interface.