Re: Django cpanel url error

2021-12-21 Thread Kunal Verma
It seems an error because you have not enter the correct path in url.py file. You should enter Path("www.websitename.com/about",name=("about/") On Wed, Dec 22, 2021, 5:35 AM Kasper Laudrup wrote: > On 21/12/2021 22.17, Johnbosco Francis wrote: > > i have hosted my Django website on cPanel, But

Re: Django cpanel url error

2021-12-21 Thread Kasper Laudrup
On 21/12/2021 22.17, Johnbosco Francis wrote: i have hosted my Django website on cPanel, But am facing an issue with URL when I try www.mywebsite.com it works but when i try accessing other pages like www.mywebsite.com/about am getting 404 error. any help will be appreciated It's hard for

Running tests fails in the test runner call_command

2021-12-21 Thread Thomas Lockhart
I’ve got a 3.2.10 installation and haven’t run my unit tests in a long time. When I try now, I get a failure which seems to trace back to the test runner itself: TypeError: Unknown option(s) for check command: databases. Valid options are: all, debug, force_color, help, names, no_color,

Django cpanel url error

2021-12-21 Thread Johnbosco Francis
i have hosted my Django website on cPanel, But am facing an issue with URL when I try www.mywebsite.com it works but when i try accessing other pages like www.mywebsite.com/about am getting 404 error. any help will be appreciated -- You received this message because you are subscribed to the

Re: Django Multi user field issue

2021-12-21 Thread Kasper Laudrup
On 21/12/2021 10.24, GCiTek Dev wrote: class User(AbstractBaseUser, PermissionsMixin): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) email = models.EmailField(_('email address'), blank=True, null=True) mobile = models.CharField(_('mobile'), unique=True,

Django Multi user field issue

2021-12-21 Thread GCiTek Dev
class User(AbstractBaseUser, PermissionsMixin): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) email = models.EmailField(_('email address'), blank=True, null=True) mobile = models.CharField(_('mobile'), unique=True, max_length=20) first_name =