<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>django configuration | Alex Hildebrandt</title><link>https://alexhildebrandt.de/category/django-configuration/</link><atom:link href="https://alexhildebrandt.de/category/django-configuration/index.xml" rel="self" type="application/rss+xml"/><description>django configuration</description><generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><lastBuildDate>Wed, 20 May 2020 00:00:00 +0000</lastBuildDate><image><url>https://alexhildebrandt.de/images/icon_hu4c6883ab8262edd297260ea54e77bd73_39834_512x512_fill_lanczos_center_2.png</url><title>django configuration</title><link>https://alexhildebrandt.de/category/django-configuration/</link></image><item><title>Django admin backend</title><link>https://alexhildebrandt.de/post/django-admin-backend/</link><pubDate>Wed, 20 May 2020 00:00:00 +0000</pubDate><guid>https://alexhildebrandt.de/post/django-admin-backend/</guid><description>
&lt;div id="create-an-admin-user-for-the-backend" class="section level2">
&lt;h2>Create an admin user for the backend&lt;/h2>
&lt;p>When starting a django project an admin backend is created automatically. To hace access to this backend first a superuser has to be created. Before this can be done you have to migrate databases with the following command (virtual environement activated):&lt;/p>
&lt;pre>&lt;code>pyhton3 manag3.py makemigrations
pyhton3 manag3.py migrate&lt;/code>&lt;/pre>
&lt;p>This ensures that all tables are available in the backend. Next you need to create a superuser with:&lt;/p>
&lt;pre>&lt;code>python3 manage.py createsuperuser&lt;/code>&lt;/pre>
&lt;p>After typing name and password of the backend admin you can launch it.&lt;/p>
&lt;hr />
&lt;/div></description></item></channel></rss>