top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

In Django is there any default database?

0 votes
574 views

Hi,

Is there any default database for Django like LAMP or WAMP in PHP?

posted Jul 30, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

Yes, In Django default database are there.

SQLite Database is the default database for Django. But you can change with any other database

answer Aug 25, 2018 by Sandeep Bedi
0 votes

Django comes with a lightweight relational database included with the Python distribution. So by default, Django automatically creates an SQLite database for your project.

If you are working on a large project you can use MySQL or Postgree.

answer Oct 30, 2018 by Uncle Sherlock
Similar Questions
+1 vote

Anyone can explain how to delete or alter existing table in database?

0 votes

I know Django is different from others like Java, PHP etc. All queries are working based on internal ORM. I'm not understood what is used for the serializer concept.

Can anyone explain simply what is the use for that?

+1 vote

Is it possible to display a data grid table with django? Basically I am looking for displaying a data from the db table on the web interface through django or some other web interface.

My main application is in Python, that's why I'd like to explore Python possibilities first.

0 votes

I'm new to Django. Is there any tell how to add a limit filter in Django?

+1 vote

Hi,

Please, I'm working on a dashboard project and so far I am facing challenges when it comes to writing functions for my views.

The difficulty here is, how do I write functions for different parts on a template.

For instance, I want to write a function that takes a user to his profile. How do I do that?

So far this is what I came up with:

@login_required
def show_profile:
  if request.method ==GET:
   return(render, '/profile.html/')
  else:
   return (render, '/login.html/')
...