Re: User is not logging in admin panel

2019-12-16 Thread Tafadzwa Marshal
hello, your problem is easy to solve. The 'createsuperuser' command creates a user with the 'staff' attribute set to true. When you create a user through the model thats inheriting from the User model, the default for the 'staff' attribute is set to false. The solution is to make sure you override

Re: Difficulty with Tutorial Part 2

2019-12-09 Thread Tafadzwa Marshal
I advice you to learn learn Python Language first before you start messing with Django. On Mon, Dec 9, 2019 at 2:19 AM Bruckner de Villiers < bruckner.devilli...@gmail.com> wrote: > Thank you Daniel. I believe that issue started with VSCode automatically > inserting “from date time import date ti

Re: Styling in Django

2019-12-09 Thread Tafadzwa Marshal
hello. Can you send that Materialize tutorial On Wed, Dec 4, 2019 at 3:27 AM Akshay Deep wrote: > https://vacancyjobalert.com/”>VacancyJobAlert.Com > > On Tuesday, December 3, 2019 at 7:16:34 PM UTC+5:30, marshalx4 wrote: >> >> How can I use Materialize CSS with Django? Seems like bootstrap is t

Re: Styling in Django

2019-12-03 Thread Tafadzwa Marshal
thanks On Tue, Dec 3, 2019 at 6:40 AM Thiago Luiz Parolin wrote: > My last project materializecss uses materialize with great success and to > stylizing forms i am using django-materializecss-form > > Em ter., 3 de dez. de 2019 às 10:52, Alan Gómez > escreveu: > >> You can work with materialize

Re: ERROR IndentationError: unindent does not match any outer indentation level

2019-12-03 Thread Tafadzwa Marshal
make sure the "objects=models.GeoManager()" statement aligns with the statement "location=models.PointField(sid=4326)" On Tue, Dec 3, 2019 at 6:30 AM EMPOWER EXCEL wrote: > PLEASE PUSH ME UP TO CORRECT THIS PROBLEM: > > class Alerts(models.Model): > name = models.CharField(max_length=20