Re: hi friends i want admin page like this. it is a application form in university

2018-09-29 Thread Vishvajit Pathak
Sudha, You may want to have a look at https://docs.djangoproject.com/en/2.1/ref/contrib/admin/ On Thursday, 27 September 2018 16:42:33 UTC+5:30, Sudha Mohan wrote: > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: favicon.ico

2018-09-30 Thread Vishvajit Pathak
Prajesh, Please provide complete context of the issue you are facing. Assuming you are getting 404 HTTP ( "GET /favicon.ico HTTP/1.1" 404 - ) error code : Could you check value of STATIC_URL in settings.py ? Also please post the code (if possible) related to how are you referring to the favic

Re: Sql server

2018-09-30 Thread Vishvajit Pathak
Did you check the documentation at https://docs.djangoproject.com/en/2.1/topics/auth/customizing/#substituting-a-custom-user-model ? On Thursday, 27 September 2018 05:05:39 UTC+5:30, Elton Oliveira wrote: > > Hello guys, I'm having two difficulties and I wonder if anyone can help > me, first I

Re: Change sqlite database to sql server

2018-10-07 Thread Vishvajit Pathak
Hi Rakhee, Two possible reasons for this error : A) ODBC driver is not installed B) The driver requires a Data Source Name to be configured You can refer these links for more explanation : https://communities.actian.com/s/article/Data-source-name-not-found-and-no-default-driver-spe

Re: Using Primary key in two fields

2018-10-20 Thread Vishvajit Pathak
Hi Rakhee, Could you try following ? : icatid = models.BigIntegerField(db_column='ICatID') makedate = models.DateTimeField(db_column='MakeDate') revdate = models.DateTimeField(db_column='RevDate', blank=True, null=True) makeid = models.BigAutoField(db_column='MakeId') class Meta: unique_togeth

Re: SyntaxError: keyword argument repeated

2018-11-08 Thread Vishvajit Pathak
in the code parent = ForeignKey( > 'customers.Zone', > on_delete=models.CASCADE, related_name="'zone's", null=True, > related_name='children' > ) key `related_name` is repeated On Wednesday, 7 November 2018 20:20:46 UTC+5:30, Dennis Alabi wrote: > > > django.setup() >

Re: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Vishvajit Pathak
Could you also share yourjs file please ? On Saturday, 10 November 2018 19:26:22 UTC+5:30, Han Joe wrote: > > I want to use the django with vue, but there is an error"Uncaught > SyntaxError: Unexpected token <" > So I make a test. I make a index.html and a test.js.This is my directory > > [image

Re: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Vishvajit Pathak
Please share js file On Saturday, 10 November 2018 19:26:22 UTC+5:30, Han Joe wrote: > > I want to use the django with vue, but there is an error"Uncaught > SyntaxError: Unexpected token <" > So I make a test. I make a index.html and a test.js.This is my directory > > [image: 1.png] > > The inde