Це відео не доступне.
Перепрошуємо.

Django Tutorial for Beginners - 6 - Database Setup

Поділитися
Вставка
  • Опубліковано 18 сер 2024
  • Source Code: github.com/the...
    Core Deployment Guide (AWS): docs.google.co...

КОМЕНТАРІ • 124

  • @Elduque40
    @Elduque40 8 років тому +48

    Man you're Epic... the Batman of programers

  • @rajeshkumarreddy
    @rajeshkumarreddy 8 років тому +11

    Your tutorials are awesome. Thanks a ton for posting this. I have learned it in a single day. Kudos to you.

  • @rambalram2610
    @rambalram2610 6 років тому

    Dude appreciate your public service to educate the rest. You have taken up a noble cause. I salute you for that.

  • @amod10
    @amod10 6 років тому

    Hi, I saw many tutorials; but you have a different way to explain everything in a flow; and that is marvelous. Really liked the way you have explained everything.

  • @akashsrivastava8226
    @akashsrivastava8226 4 роки тому +1

    its late night, i can't stop watching ur videos, lol :)

  • @noorandoun9504
    @noorandoun9504 6 років тому +2

    dude. you're saving my life.

  • @abdulharis5634
    @abdulharis5634 6 років тому

    i have watched from 1 - 5 . it's so cool. your explained very clear. i already understand litle by litle. thank you so much. i hope i can full understand after watch all .

  • @lemuelaaronlalic6109
    @lemuelaaronlalic6109 7 років тому

    Based in our discussion at school, the migrations just detect changes in the models.py per "app" just to make it specific :)
    You told us that it is needed for the tables and the models are used to form those tables.
    I hope my comment gives a little light to the discussion.

    • @lemuelaaronlalic6109
      @lemuelaaronlalic6109 7 років тому

      and btw i always go to your videos when i miss something during class :)

  • @arifjanmandokhail5973
    @arifjanmandokhail5973 5 років тому

    thanks sir realy enjoyable this is the real teacher ....

  • @shilpachaturvedi4309
    @shilpachaturvedi4309 6 років тому

    Your tutorials are simply superb!

  • @gargighosh2096
    @gargighosh2096 5 років тому

    Thank you man..your explanations are very clear...kudos to you

  • @pankajbhoi4900
    @pankajbhoi4900 6 років тому

    Best tutorial channel....!!

  • @bagolifenavy7087
    @bagolifenavy7087 7 років тому

    Thanks for your awesome tutorials!!

  • @bonnie0952
    @bonnie0952 6 років тому

    For everyone who uses pycharm. there is this handy tool found in the top left corner. press TOOLS and pres Run manage.py Task... or just simply press CTRL+ALT+R

  • @gauravbhandari1184
    @gauravbhandari1184 4 роки тому

    Well explained

  • @SpaceForce786
    @SpaceForce786 7 років тому

    Thanks for sharing this tutorial!

  • @andrewphilips9025
    @andrewphilips9025 6 років тому

    you should be giving extract(Summary) of every video at the end which makes much easy to understand what u r saying....like u did in tutorial 5

  • @consumerdude
    @consumerdude 6 років тому +1

    Django tutorial 6 Database Setup
    apps used in this tutorial
    \website\settings .py

  • @mrsamsebastian
    @mrsamsebastian 6 років тому +4

    After running python manage.py migrate I can't login to admin page anymore.

    • @rajkushwahar
      @rajkushwahar 4 роки тому

      Go to watch my video for solution
      ua-cam.com/video/Zpso8NI8Sh8/v-deo.html

  • @ALEXEIS
    @ALEXEIS 7 років тому

    I'd never have understood this if I hadn't seen laravel first.

  • @dhanushsivajaya1356
    @dhanushsivajaya1356 3 роки тому

    Thankyou sir

  • @firstnamelastname4685
    @firstnamelastname4685 6 років тому

    What is the reason that the website could still be accessed while you haven't add the music app into the INSTALLED_APPS?

  • @2f4uReActiON
    @2f4uReActiON 6 років тому

    like all his videeos

  • @andersonlee404
    @andersonlee404 7 років тому

    before we create any more pages
    before we create albums or add any songs
    can we pretend that airplaines in the night are shooting stars

  • @ahmadmohammad7419
    @ahmadmohammad7419 6 років тому

    thank you so much for this tutorial ,,i have a question i hope you answer it ,,is it true that python 3 doesn't have enough libraries for databases
    and if it is true ,,should l learn python 2 instead of python 3

  • @swapniljain3895
    @swapniljain3895 7 років тому +1

    hi Bucky I get stuck ,plz sort out ,when I run the link it comes an error current url doesn't match this... you're seeing this error bcoz you have debug=true

  • @varenyatiwari1433
    @varenyatiwari1433 4 роки тому

    I'm not able to open db.sqlite3 file, it's showing no compatible software installed what should I try to install to read it

  • @bicepskw4906
    @bicepskw4906 7 років тому +2

    SQLITE ENCODING PROBLEM. CAN'T OPEN FILE IN PYCHARM PLEASE HELPPPPPP

  • @reemasave4605
    @reemasave4605 5 років тому

    When we import path from django.urls and navigate to the app is gives Page not found error instead of the response written in views.py of the app. Is there any syntactical difference between path from django.urls and url from django.conf.urls?

  • @Sickkkkiddddd
    @Sickkkkiddddd 5 років тому

    Hi Bucky, are you using PyCharm Community or PyCharm Professional for this project tutorial? Thanks

    • @maheshpunia693
      @maheshpunia693 5 років тому

      Pycharm community does not have Django only professional or student has it
      But don't worry u get one month free evaluation on the professional version

  • @arkapravaroy5305
    @arkapravaroy5305 6 років тому

    When I'm opening pycharm then that green button for running the server is faded. So i'm not able to run it.

  • @larryogunbanjo4170
    @larryogunbanjo4170 8 років тому +3

    PLEASE HELP
    .. I am stuck and unable to start the server as shown in 2:50... I dont get the same screen (labelled "Run DJ website") and it seems there are quite a few people with this issue. I am using Pycharm Communty Edition 3.4.4.

    • @Sequence322
      @Sequence322 7 років тому +1

      Hey try running from the console go to the folder with the manage.py folder and type python manage.py runserver instead of django-admin runserver

    • @arturkovalchuk6598
      @arturkovalchuk6598 7 років тому

      thanks

    • @lumo-lm
      @lumo-lm 6 років тому +2

      I've just got a similar problem.
      What you can do is to hit "shift + F10" - its the command to run 'manage.py' -> it will open new window in the bottom "Run manage" (in my case, it wasn't available in the view section of the navigation bar).
      In this new window there will be a note that there was no sub-command for manage.py - it acts like you would type "python manage.py" into terminal).
      What you need to do right now, is to set up a default command to run with manage.py. In the top right corner there is a drop-down "manage" (with caret down) - click on it and choose "Edit ...", in the script parameters type "runserver".
      Now when you press "shift + F10", it will start server (just like typing "python manage.py runserver" to the terminal).
      Cheers!

    • @stevenbyrne5403
      @stevenbyrne5403 6 років тому +1

      My understanding is this is because the community edition disables Django support, I could be wrong though

    • @cauliflower78
      @cauliflower78 6 років тому

      stackoverflow.com/questions/23870365/how-to-setup-django-project-in-pycharm

  • @NickY-ou3yo
    @NickY-ou3yo 8 років тому

    I'm using Pycharm for Mac and it says that migrate is not a known command. What should I do?

  • @edwinrapheal2803
    @edwinrapheal2803 6 років тому

    Why did'nt you add the newly created app "music" in 'INSTALLED_APPS' in 'settings.py' ?
    Thank you

  • @MrMassaraksh
    @MrMassaraksh 8 років тому +1

    Thank you!

    • @gol197
      @gol197 8 років тому

      Hi, I have a question.
      If I run website then after that I am not able to type migrate command. Do I need to type ctrl+ c?

    • @MrMassaraksh
      @MrMassaraksh 8 років тому

      +MAYANK JINDAL to migrate stop server, then run it again

    • @gol197
      @gol197 8 років тому

      Ok

  • @amanagrawal7909
    @amanagrawal7909 5 років тому

    At 3.04 you have run a part of a code which shows some output but whenever i am trying to run mine it just terminates saying "process finished with exit code 0" . Please Help.

  • @divyanshagrawal6786
    @divyanshagrawal6786 6 років тому

    there's no django console in my pycharm....iam using a community version pyCharm

  • @smoothbeak
    @smoothbeak 8 років тому

    What is Bucky's greeting at the start of the video?

  • @rajatshrivastav
    @rajatshrivastav 6 років тому

    Why ain't my server running? after making the changes.....When I first typed the runserver command,it ran properly, and I could see the Congrats page but now I could goto 127.0.0.1:8000. please help

  • @temitopeoyeyemi899
    @temitopeoyeyemi899 5 років тому

    let someone that has tried this tell me please,,,,,,
    i understand that virtual env is important, and that django comes by default with dbsqlite as the database package...
    what i dont get is.....
    for a single project can use default database dbsqlite and decide to use another data base softwware like MYsql or POSTgre sql for another project ........would it work and what does it have any effeect
    IN short 2 different database software can each work well with 2 different project

  • @aayushah711
    @aayushah711 5 років тому

    How do I make a backtesting app in django?. Do i need to upload individual daily price data for each stock on the default database? That will be tedious. I am sure there is an easier way. Can someone help?

  • @farmrocket_
    @farmrocket_ 7 років тому

    is this a 1 time command when you first start on a website ?

  • @ibtihelhacheni8365
    @ibtihelhacheni8365 5 років тому

    please i want to make a login system from my own databases, i did the database but i 've searched a lot how to compare what's written in the textField of my view and what the column of the databes contain but in vain. Is there any documentation or tuto that may help me ? tthanks

  • @arkapravaroy5305
    @arkapravaroy5305 6 років тому

    I've written the code to migrate all the installed apps in Windows PowerShell and I've got the 'OK' message for all of them. Does that mean that I'm on the right track. Please help me out. It's urgent for my project right now.

  • @prashantvats9366
    @prashantvats9366 5 років тому

    my server is not running by adding music app

  • @imyong7983
    @imyong7983 4 роки тому

    my db.sqlite3 file with question mark. anyone knows why?

  • @vipulkumargupta4345
    @vipulkumargupta4345 5 років тому

    can we use google firebase with Django??

  • @pardhasaradhisangula2889
    @pardhasaradhisangula2889 7 років тому

    Page not found (404)
    Request Method: GET
    Request URL: 127.0.0.1:8000/
    Using the URLconf defined in website.urls, Django tried these URL patterns, in this order:
    ^admin/
    ^music/
    The empty path didn't match any of these.
    You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

  • @akhileshpips
    @akhileshpips 8 років тому +3

    why havent u installed music app?

    • @petter9078
      @petter9078 7 років тому

      He hasnt written anything inside it yet...

    • @ahmetozdemir2207
      @ahmetozdemir2207 6 років тому

      Because, you need to define what tables you are going to need for database and etc. Once he defines tables properly, he will make migration. That's why he probably didn't installed music app yet.

  • @kokiinho1
    @kokiinho1 8 років тому +1

    thx

  • @SuperNanaiah
    @SuperNanaiah 7 років тому

    can i use a ontology as a database

  • @vamshikrishnanoora564
    @vamshikrishnanoora564 5 років тому +1

    unable to run server from pycharm

  • @rudzanimatshotshi6251
    @rudzanimatshotshi6251 8 років тому

    bucky i want to change database to use mongodb can you show how

  • @abhishekratnawat7822
    @abhishekratnawat7822 6 років тому +1

    can't open local terminal

    • @danechen4040
      @danechen4040 6 років тому

      right click on your code, "open in terminal "

  • @sharifahmed1925
    @sharifahmed1925 5 років тому

    Can Django compatible with SQL Server?

  • @chrispaladin7530
    @chrispaladin7530 5 років тому

    How do i add this the configuration to run?

  • @colinmaharaj
    @colinmaharaj 5 років тому

    How about this without python?

  • @DananJoyo
    @DananJoyo 8 років тому

    why i cant open the db.sqlite3 file on my pycharm, it shows no database logo like that blue one tho. just unidentified file logo.

  • @drashyakushwah5452
    @drashyakushwah5452 8 років тому

    In my pycharm 3.4 version django console is not visible what to do.?

    • @kandarp1691
      @kandarp1691 8 років тому

      Are you using the community version ?

  • @RAKESHSINGH-sb7fw
    @RAKESHSINGH-sb7fw 5 років тому

    anyone explain how cam i run sqlite database to django framework

  • @vamshikrishnanoora564
    @vamshikrishnanoora564 5 років тому

    hello everyone i am not getting dj website near run

  • @SinCityGT3
    @SinCityGT3 7 років тому +2

    $ python manage.py migrate
    Operations to perform:
    Apply all migrations: admin, auth, contenttypes, sessions
    Running migrations:
    No migrations to apply.
    Anyone have any ideas?

    • @d3afh3av3n
      @d3afh3av3n 7 років тому

      If it is saying no migrations then it's fine simply runserver and do your work. NO PROBLEM.

    • @rajkushwahar
      @rajkushwahar 4 роки тому

      Go to watch my video for solution
      ua-cam.com/video/Zpso8NI8Sh8/v-deo.html

  • @bougartclarkson5457
    @bougartclarkson5457 4 роки тому

    where did you get the .gitignore from the last video it wasn't there

    • @tonyiguru7595
      @tonyiguru7595 4 роки тому

      I think that is part of PyCharm, and is used for git, which is used to have a repository on your local computer and in git-hub and other online repositories, online.

  • @prashantvats9366
    @prashantvats9366 5 років тому

    how can I run the server from pycharme

  • @musthaf1
    @musthaf1 7 років тому

    its python manage.py migrate for anyone whos text editor atom or something else is opening up

  • @sudarshandevarasam
    @sudarshandevarasam 6 років тому

    hey need help, could you make a video on django mongodb combination

  • @utcarshsrivastava6640
    @utcarshsrivastava6640 4 роки тому

    Whenever I run the program, nothing happens and the curson moves to the next line after >>>
    >>>
    >>>
    Like this.
    Can anyone help me with this. Also, there is no website written in my website configuration?
    Can anyone help me with that?

  • @drinkingineasterneurope6947
    @drinkingineasterneurope6947 7 років тому +8

    No thanks Wix i am creating it without your help

  • @abishekgarg4296
    @abishekgarg4296 5 років тому

    can anyone help me?? after running migrate command ...I am not able to open 127.0.0.1:8000/ ....showing me page not found..Plz help how can I fix this

    • @rajkushwahar
      @rajkushwahar 4 роки тому

      Go to watch my video for solution
      ua-cam.com/video/Zpso8NI8Sh8/v-deo.html

  • @davidsharma6518
    @davidsharma6518 6 років тому

    I couldn't figure out why it displayed following message while running settings.py
    C:\Users\user\PycharmProjects\django\venv\Scripts\python.exe C:/Users/user/Desktop/website/music/views.py
    Process finished with exit code 0
    Can anyone help on this?
    I would be very much grateful if anyone could fix it.

    • @rajkushwahar
      @rajkushwahar 4 роки тому

      Go to watch my video for solution
      ua-cam.com/video/Zpso8NI8Sh8/v-deo.html

  • @christianbegg2465
    @christianbegg2465 5 років тому

    can you use mssql?

  • @medoabdin480
    @medoabdin480 6 років тому

    when I try to access to this command:
    python manage.py migrate
    the prompt told me: No migrations to apply.
    how could I fix this problem
    thank you Bucky in advance

    • @oliveryau85
      @oliveryau85 5 років тому

      medo abdin The database is probably already synced then

  • @duckymomo7935
    @duckymomo7935 7 років тому

    is ANY database acceptable?
    can you use NoSQL like Cassandra or MongoDB?
    can you use RDBS Oracle DB?

    • @musthaf1
      @musthaf1 7 років тому

      you can use any database that supports python, mongodb does, not sure about cassandra

    • @jarnalyrkar
      @jarnalyrkar 7 років тому

      Do a google search for "mongodb hacked" and reconsider if you'd really want to use it..

    • @amie5626
      @amie5626 7 років тому

      It only applies to older versions of modgodb.

  • @pardhasaradhisangula2889
    @pardhasaradhisangula2889 7 років тому

    how to solve

  • @abdellahaitomar430
    @abdellahaitomar430 5 років тому

    how to make a miltuple user

  • @himanshupanth6301
    @himanshupanth6301 7 років тому

    after doing this, the admin password got changed.

  • @averytan
    @averytan 7 років тому

    can anyone else hear the music in the background????

  • @yoco8041
    @yoco8041 7 років тому +1

    man what the hell is "hoses?"

    • @francocamarillo9398
      @francocamarillo9398 7 років тому

      here is a picture of hoses
      cdn6.bigcommerce.com/s-fr32feerow/product_images/uploaded_images/dramm-garden-hose-2.jpg

    • @francocamarillo9398
      @francocamarillo9398 7 років тому

      but I think you meant "Hosses"
      A hoss is "someone who is good at everything. A womanizer with unparalleled skill. Someone who comes in, clutch as shit. Hoss is a term of endearment."
      www.urbandictionary.com/define.php?term=Hoss

  • @pratikkarki2398
    @pratikkarki2398 5 років тому

    but can it use blockchain as db ? hummmmmmmmm

  • @salmanal-hasan1262
    @salmanal-hasan1262 6 років тому

    Hi, give me link django tutorials source code..

  • @nikhilbhardwaj6055
    @nikhilbhardwaj6055 5 років тому

    hey plz help me, I'm getting this error-> no such table: django_session python manage.py createsuperuser and this time it is showing that error. what should I do in this?

  • @enkhjargaluranbadam4005
    @enkhjargaluranbadam4005 7 років тому

    hello I get stuck. i can not find terminal. I just learn from today. someone help me?

    • @anlgercek1121
      @anlgercek1121 7 років тому +1

      Probably you solved it months ago but this can help friends with same problem. View -> Tool Windows -> Terminal. Here the place where you can find the terminal.

    • @thegrahan10222
      @thegrahan10222 6 років тому

      Anıl Gerçek Thanks

    • @anlgercek1121
      @anlgercek1121 6 років тому

      Ankit Mishra you are welcome ^^

  • @SexualPotatoes
    @SexualPotatoes 7 років тому

    pls have my babies

  • @jhunyormonttez7408
    @jhunyormonttez7408 7 років тому

    ...