404 for some matching urls too (Version 2)

2017-12-29 Thread Sundararajan Seshadri
I do not know the mistake I am likely to be committing. In Django Version 2, I have a feeling that URL matching fails whenever there are query variables. When I try to log into Admin module, the login screen comes. But when a 'next' query variable is attached, I get a 404. Similarly when I try

Re: 404 for some matching urls too (Version 2)

2017-12-31 Thread Sundararajan Seshadri
(request.path_info) and it is now working fine. Something to do with internal working? Any simple explanation for my curiosity will be welcome. Thanks everybody. On Friday, December 29, 2017 at 5:39:15 PM UTC+5:30, Sundararajan

Re: Postgres SQL vs SQLite vs MS SQL vs MY SQL

2016-12-22 Thread Sundararajan Seshadri
The situation justifies the data base. There are more data bases (like Oracle and Firebird) than what you have specified. But, let me compare the ones you listed. Same observations apply to the other data bases too. On the first level comparison, you can say SQLITE is excellent for productivity

Re: something is wrong with my server(Django)

2019-05-07 Thread Sundararajan Seshadri
Don't panic. FIrst: when you are running it in local server mode, the wsgi.py file is of no consequence. Only Settings.py is important. Do you see that? If your main app (where the manage.py is available) is called as xx then the settings.py should be within the sub-directory of this file, also

Re: something is wrong with my server(Django)

2019-05-07 Thread Sundararajan Seshadri
Update to my earlier answer: Your project is called lokdon_project. Your settings.py should be in a sub-directory (also) called as lokdon_projec below this directory. - On Tuesday, May 7, 2019 at 5:02:16 AM UTC+5:30, Josiah Um

Re: install Microsoft visual C ++ 14.0 to be able to use mysqlclient in my Django projects

2020-05-13 Thread Sundararajan Seshadri
Try https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient Cheers On Saturday, May 9, 2020 at 10:24:56 PM UTC+5:30, Anselme SERI wrote: > > [image: nscreen.jpg] > Hello, I have been struggling for a few days wanting to install Microsoft > visual C ++ 14.0 to be able to use mysqlclient in my Dja

Re: Hi, can any one help me please.

2019-08-12 Thread Sundararajan Seshadri
It means that there is no line in urls.py of the main application with the name as 'display_laptop'. Probably you are confused with the action and name. Action should be a callable and should be imported in urls.py file. Name is the name of the route and it appears within quote (normally). Typi

Re: Storing credentials in the DB

2019-08-12 Thread Sundararajan Seshadri
If I understand is right, user stores the credentials in a database, say A and another application, probably using a different database B wants to use the credentials from A. Right? There is no problem at all, except you need to: (a) write your own hook for validating the password in the appl

Re: Retrieving data from multiple tables

2019-08-21 Thread Sundararajan Seshadri
What you need to appreciate is that the foreign key field gives you the full record (corresponding to the foreign key). So, if you fetch all records as course_rating.objects.all() then c.cid will also be an object giving you the corresponding foreign key record. So, you can access c.cid.cid and

Re: form.is_valid() is always return false please help

2019-08-25 Thread Sundararajan Seshadri
If the issue is already resolved, ignore my update. A little lengthy response, so that you can appreciate the full picture. form-is_valid() is purely to do with the definition of the specific form - or rather the definition of the fields in the form. Because that is the only information known

Re: how to rectify this error

2019-09-22 Thread Sundararajan Seshadri
n you check if the port 8000 is used by something else? On Friday, September 20, 2019 at 9:59:58 PM UTC+5:30, idb solutions wrote: > > the server isn't running. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: how to rectify this error

2019-09-22 Thread Sundararajan Seshadri
Oops...I meant 'can you'. Alternatively try 8001 or 8002 (or...) in the DOS window and point the browser to the corresponding port. And, yes, migrate command also needs to be run. But that will not affect the starting of the server. --- On Friday, S

Re: Can anyone sove my issue please!

2019-10-22 Thread Sundararajan Seshadri
Have a look at the stackoverflow page. Does the problem still remain? On Tuesday, October 22, 2019 at 4:32:29 PM UTC+5:30, Parvez Khan Pathan wrote: > > > https://stackoverflow.com/questions/58502732/exception-in-thred-django-main-thread > -- You received this message because you are subscribe