Questions tagged [django-database]

django-database refers to database backends that Django supports out of the box

refers to database backends that Django supports out of the box.

This tutorial help you to make application using mongodb database. enter link description here

664 questions
-1
votes
1 answer

Django 1.8 migrating data from local database to heroku database

I first tried using heroku addons:add pgbackups but heroku docs say that it has been deprecated. The instead recommended using this command as specified here PGPASSWORD=mypassword pg_dump -Fc --no-acl --no-owner -h localhost -U myuser mydb >…
WutWut
  • 1,204
  • 2
  • 17
  • 31
-2
votes
1 answer

Client insists on making an editable column the primary key of a table

I'm building a web app on Django. The client insists that some column on some table should be the primary key, he doesn't want autoincrement one. But also he wants that column to be modifiable in application, pointing that Postgres can deal with it…
janek37
  • 572
  • 5
  • 16
-2
votes
1 answer

while deplyoing django app on heroku postgres doesn't work

I am trying to deploy my django app on heroku server,i followed the instructions from this website https://devcenter.heroku.com/articles/getting-started-with-python#introduction .it worked fine till , "heroku open" command.When i came to the part…
-3
votes
1 answer

Django framework

I m trying to get the email of the person who just login. if request.method == "POST": username = request.POST.get('username') password = request.POST.get('password') email = request.POST.get('email')
1 2 3
44
45