Re: Customising django user model

2019-05-20 Thread mahesh boini
Extend AbstractUser class and give that name in settings file like AUTH_USER_MODEL=‘appname.modelname’ On Tue, 21 May 2019 at 05:51, Joe Reitman wrote: > You can customize the user table by extending AbstractUser and add the > fields you want to add (gender, phone) > > I have a custom user

Re: Unwelcome error!

2019-05-20 Thread mahesh boini
Migrate your changes to db django_session is default django table In your case django looking for table but the table is not exist in the db. On Tue, 21 May 2019 at 05:56, Joe Reitman wrote: > You need to run makemigrations and migrate to create the tables django > uses. > > On Monday, May 20,

Re: not able to run project once again

2019-02-09 Thread mahesh boini
Check your pipenv file whether django is available or not On Sat, 9 Feb 2019 at 19:57, sachin thakur wrote: > Yaa m running > In virtual environment > M not able to run the server as far as this error wont go > > On Sat 9 Feb, 2019, 7:56 PM mahesh boini >> Bro I

Re: not able to run project once again

2019-02-09 Thread mahesh boini
Bro I think that’s because of virtuvalenv isssue . Have you running your project in virtuavalenv check once. On Sat, 9 Feb 2019 at 19:48, sachin thakur wrote: > Traceback (most recent call last): > File "manage.py", line 8, in > from django.core.management import

Re: Django Channels

2019-01-28 Thread mahesh boini
path('chat//',views.room,name='room') replace this and try i just added "/" On Sun, Jan 27, 2019 at 11:36 PM Vaibhav Kumar Chaudhary < vaibhavkumar...@gmail.com> wrote: > I am trying to create a chat app with Django Channels and facing a bit > problem here. > when I type chat room's name is the

Re: ValueError at /news/ Value: None must be instance of Model:

2019-01-28 Thread mahesh boini
import proper package you were importing "djongo" it should be "django". On Sat, Jan 26, 2019 at 8:13 PM wrote: > This usually happens when you have added and EmbeddedModel and not passing > any value to that field while creation. > Hope this helps. > > On Sunday, 19 August 2018 19:32:49