Re: Run server

2018-06-22 Thread Dan Nepejchal
Hi, you forgot set up your databse. Here is some documentation https://docs.djangoproject.com/en/2.0/ref/databases/ Dne pá, 22. 6. 2018 18:01 uživatel Quiosa Evaristo < evaris...@una.adventist.org> napsal: > > Hello! > > I am learning python, I have installed it in my computer it is running > ver

Re: Need to Add One Or More Fields in Signup

2018-06-11 Thread Dan Nepejchal
Hi, I think you must define your own user model, with inherit from django user model... class User(AbstractUser): bio = models.TextField(max_length=500, blank=True) location = models.CharField(max_length=30, blank=True) birth_date = models. DateField(null=True, blank=True) and settings: AUTH_USER_

Re: responsive html

2018-06-08 Thread Dan Nepejchal
Hi, so if I understand it right you can use django template https://docs.djangoproject.com/en/2.0/topics/templates/ and use your css media query, then check how to serve static files https://docs.djangoproject.com/en/2.0/howto/static-files/ sou about css is in basic nothing change. pá 8. 6. 2018