I know how to save a record from shell command in command prompt.
On Monday, December 26, 2016 at 9:54:25 AM UTC+5:30, Rasika wrote:
-- I want to get values from html form and save it to database table which I have created.Please help on this I am not getting proper answer or code on net.
On Monday, December 26, 2016 at 9:54:25 AM UTC+5:30, Rasika wrote:
yes it worked well.Thank you so much
On Saturday, December 24, 2016 at 9:46:04 AM UTC+5:30, Collin Anderson wrote:Hi,You could try re-installing psycopg2 to see if that fixes it.Collin
On Thursday, December 22, 2016 at 1:55:53 AM UTC-6, Rasika wrote:
I am followed the steps as I am getting in tutorialswhen I run the command :python manage.py migratethis is giving me following errorfrom psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWIDImportError: DLL load failed: The specified module could not be found.During handling of the above exception, another exception occurred:Traceback (most recent call last):File "manage.py", line 22, in <module>execute_from_command_line(sys.On Monday, December 19, 2016 at 7:50:19 PM UTC+5:30, Derek wrote:argv) Suggest you look at Django authentication:
https://docs.djangoproject.com/en/1.10/topics/auth/ customizing/
"Authentication backends provide an extensible system for when a username and password stored with the user model need to be authenticated against a different service than Django's default."
It also seems as if your Django project was not set up properly (again from the docs):
"By default, the required configuration is already included in the settings.py generated by django-admin startproject, these consist of two items listed in your INSTALLED_APPS setting:
1. 'django.contrib.auth' contains the core of the authentication framework, and its default models.
2. 'django.contrib.contenttypes' is the Django content type system, which allows permissions to be associated with models you create"
On Monday, 19 December 2016 13:34:39 UTC+2, Rasika wrote:Hello all,I am using Django framework for our website.I am stuck on the database connectivity.I want to change the default database sqlite with our for test purpose but in that also I am getting problems.My aim is I have to use our compnies database so that already registered users have not to create their account againAsDjango already comes with its own builtin apps for login,logout authentication and registration .Also I am not able to find the 'django.contrib.auth','django.contrib.contenttypes','django.contrib.sessions','django.contrib.sites','django.contrib.admin',etc and all default apps also.Please help me.Thank you.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ba843bf7-2a27-4e3a-b2b1-83530f68658c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment