Belajar Django

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 47

  • @zuraizzafar2746
    @zuraizzafar2746 4 года назад +5

    Even I do not understand your language, but man... that helped me a lot, amazing and thanks!

  • @etbelo2522
    @etbelo2522 5 лет назад

    I did not understand a single word that you spoke, but it worked. Many thanks.

  • @Pinandito15
    @Pinandito15 6 лет назад

    TERIMA KASIH BOSS!
    INI SANGAT MEMBANTU!
    ANDA JENIUS!!!

  • @erikaristayasa
    @erikaristayasa 6 лет назад

    baru sempet lanjut belajar django nih bang

  • @usahadana3707
    @usahadana3707 6 лет назад +3

    bang kok pas install mysql client keterangnya mysqlclient-1.3.13-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform padahal wheel udah ke install

    • @cecepjanuardi95
      @cecepjanuardi95 5 лет назад

      sama saya menggunakan 3.7

    • @lawfal6203
      @lawfal6203 5 лет назад +2

      mungkin python mu 32-bit bro
      coba cek di cmd .. ketik "python" nnti keluar semua informasi ttg python yg ada di kompi agan

    • @Green_Arm
      @Green_Arm 4 года назад

      pake yg 32 bro

  • @danaumum7447
    @danaumum7447 6 лет назад +2

    Bedanya dngn yg non xampp apa bang

  • @ardanadinugroho4823
    @ardanadinugroho4823 4 года назад

    kalo mau koneksi ke db yang sudah ada gimana ya?
    karena table udah ada jadi kalo migrate malah 2 kali kerja.
    mohon pencerahannya hehe

  • @citcut4485
    @citcut4485 4 года назад

    maaf apa harus mysql connector c ?,
    kalau misal menggunakan yang connector j atau yang lain bagaimana?

  • @nurkhozin1645
    @nurkhozin1645 5 лет назад

    bang tanya.. ada error gini pass runserver setelah konfigurasi database di setting.py
    System check identified no issues (0 silenced).
    Unhandled exception in thread started by
    Traceback (most recent call last):
    File "C:\dev\django\Env\lib\site-packages\django\utils\autoreload.py", line 228, in wrapper
    fn(*args, **kwargs)
    File "C:\dev\django\Env\lib\site-packages\django\core\management\commands
    unserver.py", line 127, in inner_run
    self.check_migrations()
    File "C:\dev\django\Env\lib\site-packages\django\core\management\base.py", line 422, in check_migrations
    executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
    File "C:\dev\django\Env\lib\site-packages\django\db\migrations\executor.py", line 20, in __init__
    self.loader = MigrationLoader(self.connection)
    File "C:\dev\django\Env\lib\site-packages\django\db\migrations\loader.py", line 52, in __init__
    self.build_graph()
    File "C:\dev\django\Env\lib\site-packages\django\db\migrations\loader.py", line 210, in build_graph
    self.applied_migrations = recorder.applied_migrations()
    File "C:\dev\django\Env\lib\site-packages\django\db\migrations
    ecorder.py", line 65, in applied_migrations
    self.ensure_schema()
    File "C:\dev\django\Env\lib\site-packages\django\db\migrations
    ecorder.py", line 52, in ensure_schema
    if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()):
    File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 254, in cursor
    return self._cursor()
    File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 229, in _cursor
    self.ensure_connection()
    File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 213, in ensure_connection
    self.connect()
    File "C:\dev\django\Env\lib\site-packages\django\db\backends\base\base.py", line 189, in connect
    self.connection = self.get_new_connection(conn_params)
    File "C:\dev\django\Env\lib\site-packages\django\db\backends\mysql\base.py", line 276, in get_new_connection
    conn.encoders[SafeBytes] = conn.encoders[bytes]
    KeyError:
    gimana bang ?

  • @ulfahumar3137
    @ulfahumar3137 6 лет назад

    bang sy sdh download sesuai versi python tp error saat install ket " Could not find a version that satisfies the requirement mysqlclient-1.3.13-cp36-cp36m-win32 (from versions: )
    No matching distribution found for mysqlclient-1.3.13-cp36-cp36m-win32" mhn bantuan bang.... makasih

  • @abdurrahmanalfatih1427
    @abdurrahmanalfatih1427 5 лет назад

    Bedanya dengan yang tidak make XAMP apa ya?
    apakah cuman tampilan web-based buat sisfo databasenya saja?

  • @zulfios
    @zulfios 5 лет назад

    kak, bagaimana cara menggunakan database yang sudah di buat di Mysql?

  • @somamuhammadnurhuda4027
    @somamuhammadnurhuda4027 6 лет назад +1

    bang pukis, kok pas pip install mysqlclient ada warning "this file is not a supported wheel on this platform". padahal python di pc udah ver 3.6 dan windows 64x. mohon pencerahannya bang

    • @KelasTerbuka
      @KelasTerbuka  6 лет назад

      Coba install dulu wheel nya pakai pip install wheel

    • @fajarpratamaPutra25
      @fajarpratamaPutra25 5 лет назад

      coba pake ini bang "pip install mysql-python" , soalnya sy punya problem yg sama, dan sy pake cara ini, alhamdulillah lancar

  • @yudiabunadhif7156
    @yudiabunadhif7156 4 года назад

    Kang Pukis, yg kita download dan install xampp 32bit atau 64bit ? Atau mana saja bisa ?

  • @androarta2357
    @androarta2357 3 года назад +1

    Bang ini kenapa yah?
    Saya udah tambahin path (C:\xampp\mysql\bin) di environment variables. Pas saya ketik mysql lewat cmd yang muncul:
    ERROR 1045 (28000): Access denied for user 'Andro Arta'@'localhost' (using password: NO)
    Thanks!

  • @imfeliciaweng
    @imfeliciaweng 5 лет назад

    bang, ini saya ada error seperti :
    System check identified no issues (0 silenced).
    Unhandled exception in thread started by
    Traceback (most recent call last):
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\utils\autoreload.py", line 228, in wrapper
    fn(*args, **kwargs)
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\core\management\commands
    unserver.py", line 127, in inner_run
    self.check_migrations()
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\core\management\base.py", line 422, in check_migrations
    executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations\executor.py", line 20, in __init__
    self.loader = MigrationLoader(self.connection)
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations\loader.py", line 52, in __init__
    self.build_graph()
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations\loader.py", line 210, in build_graph
    self.applied_migrations = recorder.applied_migrations()
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations
    ecorder.py", line 65, in applied_migrations
    self.ensure_schema()
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\migrations
    ecorder.py", line 52, in ensure_schema
    if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()):
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 254, in cursor
    return self._cursor()
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 229, in _cursor
    self.ensure_connection()
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 213, in ensure_connection
    self.connect()
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\base\base.py", line 189, in connect
    self.connection = self.get_new_connection(conn_params)
    File "D:\MyProject\Python\Belajar\Env\lib\site-packages\django\db\backends\mysql\base.py", line 276, in get_new_connection
    conn.encoders[SafeBytes] = conn.encoders[bytes]
    KeyError:
    untuk pip list nya :
    Package Version
    ----------- -------
    Django 1.11.18
    mysqlclient 1.4.1
    pip 19.0.1
    pytz 2018.9
    setuptools 40.6.2
    wheel 0.32.3
    settingsnya :
    DATABASES = {
    'default': {
    'ENGINE': 'django.db.backends.mysql',
    'NAME': 'dJango_db',
    'USER': 'root',
    'PASSWORD': '',
    'HOST': 'localhost',
    'PORT': '3306',
    }
    }
    mysql connector dan mysqlclient yang 32 bit saya install bang, dan versi python nya 3.7.2, kira kira apa masalahnya ya bang ?
    mohon bantuannya

  • @rezariyaldi7236
    @rezariyaldi7236 4 года назад

    Mysql connector C nya kok saya gada yaa?:/

  • @tomjr2269
    @tomjr2269 4 года назад

    Bg pukis, setup ini berlaku juga nggak kalau kita pakai flask???

  • @humaidihidayatullah8765
    @humaidihidayatullah8765 5 лет назад

    Bang setelah tak koneksikan ke mysql
    Malah error waktu di run
    Pesan nya
    System check identified no issues

    • @KelasTerbuka
      @KelasTerbuka  5 лет назад +1

      itu no issues berarti normal bro

  • @raflydipoe8637
    @raflydipoe8637 5 лет назад

    Attempting to start MySQL app...
    Status change detected: running
    Status change detected: stopped
    Error: MySQL shutdown unexpectedly.
    This may be due to a blocked port, missing dependencies,
    improper privileges, a crash, or a shutdown by another method.
    Press the Logs button to view error logs and check
    the Windows Event Viewer for more clues
    If you need more help, copy and post this
    entire log window on the forums
    Bang kok punya saya mysqlnya error pas jalanin xampp control panel

  • @tchoutangbankouemichelfran5386
    @tchoutangbankouemichelfran5386 5 лет назад

    thanks but i have a problem. my python version: 3.7.2.
    i have this error: mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.
    i have already wheel installed

    • @ekoabdulaziz9689
      @ekoabdulaziz9689 5 лет назад

      make sure your python 32 -bit or 64-bit,
      check this site--> discuss.pytorch.org/t/cannot-install-due-to-not-a-supported-wheel-on-this-platform-on-windows/17689/5

    • @etbelo2522
      @etbelo2522 5 лет назад +3

      You have to use the other one: multiprocess‑0.70.7‑cp37‑cp37m‑win32.whl
      Not the amd one.

    • @farisdewantoro5069
      @farisdewantoro5069 5 лет назад

      @@etbelo2522 thanks broo !!!

  • @imroatulinayah3443
    @imroatulinayah3443 5 лет назад

    tabel di databsenya cuma ada migration doang kak,, gimaana ya?

  • @mindcrazy9772
    @mindcrazy9772 2 года назад

    Done.

  • @jumadimadhi6767
    @jumadimadhi6767 5 лет назад

    Mas, bisa tuk telegram jg?

  • @satyajeetranjan8590
    @satyajeetranjan8590 6 лет назад

    thanks, it solved my problem "mysql.h" not found

    • @KelasTerbuka
      @KelasTerbuka  6 лет назад

      sure, no worries bro..., and Im sorry the tutorial is in bahasa not in english...:)

  • @TalesFairyFrench
    @TalesFairyFrench 6 лет назад

    Well done 👌 thanks a lot

  • @gaganchhabra6366
    @gaganchhabra6366 6 лет назад

    Awesome !!! Thanks a lot. helped me a lot.

  • @matheusnb99
    @matheusnb99 6 лет назад

    Cheers mate

  • @farnetani1273
    @farnetani1273 6 лет назад

    Não seria rodar apenas:
    pip install --only-binary :all: mysqlclient

    • @KelasTerbuka
      @KelasTerbuka  6 лет назад

      I am sorry, I dont understand bro, could you comment in english? 😅

    • @oneinfinity5060
      @oneinfinity5060 4 года назад

      @@KelasTerbuka wkwkwkw