Hello Joel,
I don't know if this is too late to reply.But even on windows 10 you need web
server installed to host the website. I guess IIS is the one probably you can
use. To test your environment you can download WAMP server and then proceed
from there.
Regards,
Amitesh Sahay91-750 797 861
Hi,
You can find the information you need here:
https://docs.djangoproject.com/en/2.1/topics/auth/customizing/#django.contrib.auth.models.CustomUser
Change the USERNAME_FIELD and you are good to go!
Regards,
Andréas
Den sön 6 jan. 2019 kl 03:07 skrev Achyut Pandey :
>
> Hello guys i want to
Thanks for your reply bro.
Sent from my iPhone
> On Jan 6, 2019, at 8:01 PM, Andréas Kühne wrote:
>
> Hi,
>
> You can find the information you need here:
> https://docs.djangoproject.com/en/2.1/topics/auth/customizing/#django.contrib.auth.models.CustomUser
>
> Change the USERNAME_FIELD and y
i have a custom user model that i want to have 4 default groups depending
on job title.
this is my model.py
1 from django.contrib.auth.models import AbstractUser, UserManager,
PermissionsMixin
2 from django.db import models
3
4 class WiggenUserManager(UserManager):
5 pass
6
7
I have the following files:
#views.py
from django.views.generic.edit import FormView
from django.views.generic.base import TemplateView
from braces.views import AnonymousRequiredMixin, CsrfExemptMixin
#exempting from Csfr as the worst it can do is making lots of new users
class LogonView(CsrfEx
Hi All,
Changed DATABASE code as under in setting.py in Django project. But not
getting able to connect to MS SQL Server. Please suggest.
ATABASES = {
'default': {
'NAME': 'APJ_AIM_LITE',
'ENGINE': 'sqlserver_ado',
'HOST': 'DB_SERVER',
'USER': '',
'PAS
Hi,
i think you can add a if condition in your view.py , stating if the
username matches to a regular expression for mobile or email.
if the regular expression matches the email you can go ahead calling the
user authenticate method and pass the email. But if the regular expression
matches for mobil
Prefer the ebook of "django for beginners" by William S vincent.
His lessons are easy to grasp for any beginner wanting to learn django.
On Jan 6, 2019 2:16 AM, wrote:
> I know that you are exp in django, so I need you tell me the best way to
> learn django is what ?
>
> --
> You received this me
python is learnt best by doing. As a lesson familiar with other languages,
I found it easy to go through the steps in the python official
documentation: https://docs.python.org/3/tutorial/
On Sun, 6 Jan, 2019, 11:25 PM Gilbeesh Kosma Prefer the ebook of "django for beginners" by William S vincent
Create your database in MySQL
Migrate your files
On Sun, 6 Jan 2019 at 23:25, Praveen Kumar
wrote:
> Hi All,
>
> Changed DATABASE code as under in setting.py in Django project. But not
> getting able to connect to MS SQL Server. Please suggest.
>
> ATABASES = {
> 'default': {
> 'NAME
10 matches
Mail list logo