Source code and setup Django learning management system

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

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

  • @adilmohak
    @adilmohak  Год назад +37

    Give that thumbs-up a click

    • @AjirogheneSunny
      @AjirogheneSunny Год назад

      Hi @Adil Mohak can you please mentor me on this project.

    • @AjirogheneSunny
      @AjirogheneSunny Год назад +1

      @Adil Mohak some features are missing, Grade Result, Assessment result, Add and Drop course and profile page catches error

    • @adilmohak
      @adilmohak  Год назад

      @@AjirogheneSunny All features you mentioned are there, Grade and Assessment results are empty by default and populated automatically once lecturers submit students' scores. For the "profile page catches error" consider creating a new issue on GitHub with a full log

    • @a.f.r.a.z_
      @a.f.r.a.z_ Год назад

      @@adilmohak hey bro hope you are doing well can i get your social media there are a few things i wanna talk about?

    • @AbirahamMolla
      @AbirahamMolla 4 дня назад

      hello adilmohak app,course managment and sms and some other contents are not found

  • @lovelife-el9kl
    @lovelife-el9kl Год назад +5

    Amazing project to advance your django skill

    • @adilmohak
      @adilmohak  Год назад

      Thank you and happy coding :)

  • @shimekittadele3986
    @shimekittadele3986 Год назад +2

    nice
    keep doing it

  • @MuhammadIbrahim-yh1mr
    @MuhammadIbrahim-yh1mr Год назад

    This is wonderful, nice work

  • @hassanabuya
    @hassanabuya Год назад +1

    MashaAllah Allah Barik very nice work am impressed... am a newbie mentor me...

  • @thilakabinav
    @thilakabinav 8 месяцев назад +1

    I can't add a student or lecturer it shows error database connected I can create super user can some one help

  • @JK-iy5ky
    @JK-iy5ky Год назад +3

    @adilmohak Can you please guide , how to create database in postgresql and connect it with the project?

  • @ayo-ju5sv
    @ayo-ju5sv 7 месяцев назад +1

    GOD BLESS YOUR KIND THOUGHTS 🔥

  • @haizen4648
    @haizen4648 Год назад +2

    Hi
    Why do I keep getting this ?
    I keep getting this error
    (venv) C:\Users\Charith\Desktop\New lms\django-lms>python manage.py makemigrations
    Traceback (most recent call last):
    File "C:\Users\Charith\Desktop\New lms\django-lms\manage.py", line 24, in
    main()
    File "C:\Users\Charith\Desktop\New lms\django-lms\manage.py", line 18, in main
    execute_from_command_line(sys.argv)
    File "C:\Users\Charith\Desktop\New lms\django-lms\venv\Lib\site-packages\django\core\management\__init__.py", line 442, in execute_from_command_line
    utility.execute()
    File "C:\Users\Charith\Desktop\New lms\django-lms\venv\Lib\site-packages\django\core\management\__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
    File "C:\Users\Charith\Desktop\New lms\django-lms\venv\Lib\site-packages\django\core\management\base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
    File "C:\Users\Charith\Desktop\New lms\django-lms\venv\Lib\site-packages\django\core\management\base.py", line 453, in execute
    self.check()
    File "C:\Users\Charith\Desktop\New lms\django-lms\venv\Lib\site-packages\django\core\management\base.py", line 485, in check
    all_issues = checks.run_checks(
    ^^^^^^^^^^^^^^^^^^
    File "C:\Users\Charith\Desktop\New lms\django-lms\venv\Lib\site-packages\django\core\checks
    egistry.py", line 88, in run_checks
    new_errors = check(app_configs=app_configs, databases=databases)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\Charith\Desktop\New lms\django-lms\venv\Lib\site-packages\django\core\checks\model_checks.py", line 18, in check_all_models
    models = apps.get_models()
    ^^^^^^^^^^^^^^^^^
    File "C:\Users\Charith\Desktop\New lms\django-lms\venv\Lib\site-packages\django\apps
    egistry.py", line 181, in get_models
    self.check_models_ready()
    File "C:\Users\Charith\Desktop\New lms\django-lms\venv\Lib\site-packages\django\apps
    egistry.py", line 143, in check_models_ready
    raise AppRegistryNotReady("Models aren't loaded yet.")
    django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.

  • @JonahKMenson
    @JonahKMenson 9 месяцев назад

    Nice work. I'm actually finding it difficult to set it up

  • @shtrafnoy
    @shtrafnoy Год назад +2

    Good job! I tried it. Keep doing!
    if you need any help of a university teacher with the choice of functionality for the system - I am at your service

    • @dbvlog2106
      @dbvlog2106 Год назад

      Can you explain how to create database in postgresql for this project

    • @briankasia
      @briankasia 7 месяцев назад

      please i try make migration.....
      PS C:\Users\Hp\django-lms> python manage.py migrate
      Traceback (most recent call last):
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 244, in ensure_connection
      self.connect()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 225, in connect
      self.connection = self.get_new_connection(conn_params)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\postgresql\base.py", line 203, in get_new_connection
      connection = Database.connect(**conn_params)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\psycopg2\__init__.py", line 122, in connect
      conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
      psycopg2.OperationalError: invalid integer value "[YOUR_POSTGRES_PORT default is 5432]" for connection option "port"
      The above exception was the direct cause of the following exception:
      Traceback (most recent call last):
      File "manage.py", line 21, in
      main()
      File "manage.py", line 17, in main
      execute_from_command_line(sys.argv)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\__init__.py", line 446, in execute_from_command_line
      utility.execute()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\__init__.py", line 440, in execute
      self.fetch_command(subcommand).run_from_argv(self.argv)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\base.py", line 414, in run_from_argv
      self.execute(*args, **cmd_options)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\base.py", line 460, in execute
      output = self.handle(*args, **options)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\base.py", line 98, in wrapped
      res = handle_func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\commands\migrate.py", line 91, in handle
      self.check(databases=[database])
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\base.py", line 487, in check
      all_issues = checks.run_checks(
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\checks
      egistry.py", line 88, in run_checks
      new_errors = check(app_configs=app_configs, databases=databases)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\checks\model_checks.py", line 36, in check_all_models
      errors.extend(model.check(**kwargs))
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\models\base.py", line 1461, in check
      *cls._check_indexes(databases),
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\models\base.py", line 1864, in _check_indexes
      connection.features.supports_covering_indexes
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\functional.py", line 49, in __get__
      res = instance.__dict__[self.name] = self.func(instance)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\postgresql\features.py", line 84, in is_postgresql_11
      return self.connection.pg_version >= 110000
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\functional.py", line 49, in __get__
      res = instance.__dict__[self.name] = self.func(instance)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\postgresql\base.py", line 354, in pg_version
      with self.temporary_connection():
      File "C:\Program Files\Python38\lib\contextlib.py", line 113, in __enter__
      return next(self.gen)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 639, in temporary_connection
      with self.cursor() as cursor:
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 284, in cursor
      return self._cursor()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 260, in _cursor
      self.ensure_connection()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 244, in ensure_connection
      self.connect()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\utils.py", line 91, in __exit__
      raise dj_exc_value.with_traceback(traceback) from exc_value
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 244, in ensure_connection
      self.connect()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 225, in connect
      self.connection = self.get_new_connection(conn_params)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\postgresql\base.py", line 203, in get_new_connection
      connection = Database.connect(**conn_params)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\psycopg2\__init__.py", line 122, in connect
      conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
      django.db.utils.OperationalError: invalid integer value "[YOUR_POSTGRES_PORT default is 5432]" for connection option "port"
      PS C:\Users\Hp\django-lms>

  • @ArvindKaranje
    @ArvindKaranje 4 месяца назад +1

    Hii bro ,how can I login as student and lecture ???
    Where is the credentials for that , don't have any option in the frontend to sign in new student ?

  • @sanjognadkarni1304
    @sanjognadkarni1304 20 дней назад

    Was getting an 405 error for logout. I was able to fix it for frontend on my system but not sure how to fix admin login.

  • @meditation2501
    @meditation2501 7 месяцев назад

    I am not getting autogenerated email for student and lectures . Which all files I need to update to get message for my smtp?

  • @Rogersllog
    @Rogersllog 7 месяцев назад

    It's so amazing! Could you please offer me some instruction to interpret the codes?

  • @anynomousgeek6129
    @anynomousgeek6129 10 месяцев назад

    hey, i am having trouble setting up this project locally, can you please guide! not able to clone it also downloading zip gives access denied error! Thankyou

  • @quangducngo144
    @quangducngo144 Месяц назад

    When I added student and lecturer, I don't see any accounts werre sent to my gmail

  • @lastlevel9866
    @lastlevel9866 Год назад

    i tried to follow the setup process but then I am having this error
    File "C:\Users\Last Level\Desktop\lastlevelLMS\venv\django-lms-main\manage.py", line 5, in
    import environ
    File "C:\Users\Last Level\Desktop\lastlevelLMS\venv\Lib\site-packages\environ.py", line 114
    raise ValueError, "No frame marked with %s." % fname
    ^
    SyntaxError: invalid syntax

  • @ShubhamKumar-qx1bp
    @ShubhamKumar-qx1bp Год назад

    Hi Adil, good work, a suggestion to improve it - you can add payment related functions for each course before they enroll.

  • @arianneyoon7374
    @arianneyoon7374 Год назад +1

    Hello! whenver i try to run the server it produces the same error.. do you know how to fix it?
    django.db.utils.OperationalError: connection to server at "localhost" (::1), port 5432 failed: FATAL: database "django_sms_data" does not exist

    • @adilmohak
      @adilmohak  Год назад +1

      Hey Arianne, you need to create a PostgreSQL database called "django_sms_data"
      There are several videos on how to install and create a PostgreSQL database

  • @quangducngo144
    @quangducngo144 Месяц назад

    Hi, can I ask you how to create account for student and lecturer? Thank you and wish you all the best!

  • @Isabella-jm9jk
    @Isabella-jm9jk Год назад

    Hello, styling is not working for me even after doing hard refresh. Should I include % static somewhere? Please help
    The below is the error log:
    [08/Jan/2024 10:08:47] "GET /favicon.ico HTTP/1.1" 404 6158
    [08/Jan/2024 10:10:26] "GET /static/css/font-face.css HTTP/1.1" 404 1911
    [08/Jan/2024 10:10:26] "GET /static/css/bootstrap.css HTTP/1.1" 404 1911
    [08/Jan/2024 10:10:26] "GET /static/css/style.css HTTP/1.1" 404 1899
    [08/Jan/2024 10:32:48] "GET /accounts/login/?next=/ HTTP/1.1" 200 2756
    [08/Jan/2024 10:32:48] "GET /static/css/font-face.css HTTP/1.1" 404 1911
    [08/Jan/2024 10:32:48] "GET /static/js/jquery-3.3.1.min.js HTTP/1.1" 404 1926
    [08/Jan/2024 10:32:48] "GET /static/css/style.css HTTP/1.1" 200 23734
    [08/Jan/2024 10:32:48] "GET /static/css/bootstrap.css HTTP/1.1" 404 1911
    [08/Jan/2024 10:32:48] "GET /static/fonts/rubik-v14-latin/rubik-v14-latin-300.woff2 HTTP/1.1" 200 15864
    [08/Jan/2024 10:32:48] "GET /static/css/style.min.css.map HTTP/1.1" 200 11168
    [08/Jan/2024 10:33:32] "GET /accounts/login/?next=/ HTTP/1.1" 200 2756
    [08/Jan/2024 10:33:32] "GET /static/css/font-face.css HTTP/1.1" 404 1911
    [08/Jan/2024 10:33:32] "GET /static/css/bootstrap.css HTTP/1.1" 404 1911
    [08/Jan/2024 10:33:32] "GET /static/js/jquery-3.3.1.min.js HTTP/1.1" 404 1926

    • @adilmohak
      @adilmohak  Год назад +1

      Hi, this has been resolved now, try to pull the latest update. Also if you set DEBUG=False you should also run `python manage.py collectstatic`

  • @NAVAKING
    @NAVAKING 7 месяцев назад

    how did you get the terminal
    in visual

  • @nbrcodingadda5874
    @nbrcodingadda5874 9 месяцев назад

    I have tried make migration but showing create database pls suggest me how to do make migration and migrate

  • @aayushchand8213
    @aayushchand8213 Год назад +3

    what is the DB_PORT in .env?

    • @adilmohak
      @adilmohak  Год назад

      Hi there, I left DB_PORT blank as I want to use the default Postgresql port number, but consider adding it in DB_PORT if your PostgreSQL server port number has changed.

  • @tishajain397
    @tishajain397 Год назад +2

    EMAIL_HOST_USER = env('USER_EMAIL')
    ^^^^^^^^^^^^^^^^^
    what should be added here?

  • @ChanSerey44
    @ChanSerey44 4 месяца назад

    No celery moudle name please help fix

  • @bkgraphicdesign3464
    @bkgraphicdesign3464 9 месяцев назад

    Nice work! I love all the features included in this project. Please boss, I am finding it difficult installing the packages as in "pip install -r requirements.txt" some of the packages will install but when it reaches pillow, and decouple it catches errors

    • @adilmohak
      @adilmohak  9 месяцев назад

      Glad you liked the project, please provide me the full log when trying to install Pillow. Perhaps create a new issue on GitHub so that other folks can also help you. Are u on Windows OS?

  • @darkitowo
    @darkitowo Год назад +1

    I followed the setup exactly how it was suggested, but I ended up getting stuck on the "Pillow" package & django.core.management with these error:
    File "C:\Users\-\eLMS-SWE\manage.py", line 11, in main from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django'
    I checked for some quick solutions and they pointed to "not having django installed" etc, but I do have it & have also upgraded it to match the version of my python. I'm just stuck right now and can't manage to run this sadly.
    I'd love to hear back from you, this project is insane and has some really cool implementations that I wanna check out!

    • @adilmohak
      @adilmohak  Год назад +1

      There are a few things you can check:
      Check your Python environment: Make sure you are running the correct Python environment where Django was installed.
      Check if Django is installed: Double-check if Django is actually installed by running `pip freeze | grep django` in the terminal or command prompt. If Django is installed, you should see a list of Django packages and their version numbers.
      Check your virtual environment: If you are using a virtual environment, make sure it is activated and that you have installed Django within the virtual environment.
      If you have tried all these steps and are still having trouble, try reinstalling Django or creating a new virtual environment to isolate your Python environment.

  • @khaledsamy5558
    @khaledsamy5558 9 месяцев назад

    I run it but how can i link it to a real data base

  • @elijahaugustintambakomba9805
    @elijahaugustintambakomba9805 7 месяцев назад

    please i need a guide I'm having problem running it

  • @Rcvery
    @Rcvery 7 месяцев назад

    Sir db name not found you never showed your env finished

  • @terphenylaniline1783
    @terphenylaniline1783 Год назад

    after i write : python manage.py runserver
    this errror is coming:
    File "C:\Users\Administrator\django-lms\manage.py", line 5, in
    import environ
    ModuleNotFoundError: No module named 'environ'
    Plese posper a solution

    • @adilmohak
      @adilmohak  Год назад

      simply run `pip install -r requirements.txt`

  • @saadatislam4259
    @saadatislam4259 10 месяцев назад

    Student & lecturer can not be added. Dashboard page is not working. it says "SMTP" error.

    • @jaswanthjas9129
      @jaswanthjas9129 8 месяцев назад

      I’m facing the same error too
      Can anybody help me
      It’s urgent and important for me

  • @briankasia
    @briankasia 8 месяцев назад

    what does this mean............. what do i do....... it happened at the end of entering "pip install -r requirements.txt".
    :45: RuntimeWarning: Pillow 9.3.0 does not support Python 3.12 and
    does not provide prebuilt Windows binaries. We do not recommend building from source on Windows.
    [end of output]
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for Pillow
    Failed to build Pillow
    ERROR: Could not build wheels for Pillow, which is required to install pyproject.toml-based projects

    • @adilmohak
      @adilmohak  8 месяцев назад

      Hello, please create a new issue on GitHub

    • @adilmohak
      @adilmohak  8 месяцев назад

      Probably your python version is not compatible with the Pillow, the project requires Python-3.8 and above

    • @briankasia
      @briankasia 8 месяцев назад

      OK downloaded 3.8 I'll check and let you know

    • @Rcvery
      @Rcvery 7 месяцев назад

      ​​@@adilmohak sir db name not found when run makemigration

    • @briankasia
      @briankasia 7 месяцев назад

      PS C:\Users\Hp\django-lms> python manage.py migrate
      Traceback (most recent call last):
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 244, in ensure_connection
      self.connect()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 225, in connect
      self.connection = self.get_new_connection(conn_params)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\postgresql\base.py", line 203, in get_new_connection
      connection = Database.connect(**conn_params)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\psycopg2\__init__.py", line 122, in connect
      conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
      psycopg2.OperationalError: invalid integer value "[YOUR_POSTGRES_PORT default is 5432]" for connection option "port"
      The above exception was the direct cause of the following exception:
      Traceback (most recent call last):
      File "manage.py", line 21, in
      main()
      File "manage.py", line 17, in main
      execute_from_command_line(sys.argv)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\__init__.py", line 446, in execute_from_command_line
      utility.execute()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\__init__.py", line 440, in execute
      self.fetch_command(subcommand).run_from_argv(self.argv)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\base.py", line 414, in run_from_argv
      self.execute(*args, **cmd_options)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\base.py", line 460, in execute
      output = self.handle(*args, **options)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\base.py", line 98, in wrapped
      res = handle_func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\commands\migrate.py", line 91, in handle
      self.check(databases=[database])
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\management\base.py", line 487, in check
      all_issues = checks.run_checks(
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\checks
      egistry.py", line 88, in run_checks
      new_errors = check(app_configs=app_configs, databases=databases)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\core\checks\model_checks.py", line 36, in check_all_models
      errors.extend(model.check(**kwargs))
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\models\base.py", line 1461, in check
      *cls._check_indexes(databases),
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\models\base.py", line 1864, in _check_indexes
      connection.features.supports_covering_indexes
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\functional.py", line 49, in __get__
      res = instance.__dict__[self.name] = self.func(instance)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\postgresql\features.py", line 84, in is_postgresql_11
      return self.connection.pg_version >= 110000
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\functional.py", line 49, in __get__
      res = instance.__dict__[self.name] = self.func(instance)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\postgresql\base.py", line 354, in pg_version
      with self.temporary_connection():
      File "C:\Program Files\Python38\lib\contextlib.py", line 113, in __enter__
      return next(self.gen)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 639, in temporary_connection
      with self.cursor() as cursor:
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 284, in cursor
      return self._cursor()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 260, in _cursor
      self.ensure_connection()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 244, in ensure_connection
      self.connect()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\utils.py", line 91, in __exit__
      raise dj_exc_value.with_traceback(traceback) from exc_value
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 244, in ensure_connection
      self.connect()
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\base\base.py", line 225, in connect
      self.connection = self.get_new_connection(conn_params)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\utils\asyncio.py", line 26, in inner
      return func(*args, **kwargs)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\django\db\backends\postgresql\base.py", line 203, in get_new_connection
      connection = Database.connect(**conn_params)
      File "c:\Users\Hp\django-lms\.venv\lib\site-packages\psycopg2\__init__.py", line 122, in connect
      conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
      django.db.utils.OperationalError: invalid integer value "[YOUR_POSTGRES_PORT default is 5432]" for connection option "port"
      PS C:\Users\Hp\django-lms> ............what do i do...

  • @Rcvery
    @Rcvery 7 месяцев назад

    Db port is blank??

  • @dbvlog2106
    @dbvlog2106 Год назад

    How to create database in postgresql can you explain?

  • @samiamahbub5040
    @samiamahbub5040 Год назад

    Can i add a "problem solving contest" feature in that kinds of project? How?

    • @adilmohak
      @adilmohak  Год назад

      Hey, can you clarify your question for me please

    • @samiamahbub5040
      @samiamahbub5040 11 месяцев назад

      @@adilmohak I want to make a project for my "database management system" course .It is actually a learning management system where have features like user management, instructors can share resources, give assignments, study material coursewise in a virtual classroom ,can create a quiz test by timing, any instructors can create competittive programming contests like problem solving and students can get a particular ratings for the contest ,there will also be a code editor to submit the solutions, instructors can track every students progress by rating and after some rating in a range they get a badge, there will be a ranking leaderboard for the contest participants, students can ask any question to the instructors in the comment box. How can i be able to implement this project?Could you give me a little bit hint to add this kinds of contest in my project?

  • @shubhanshutiwari5533
    @shubhanshutiwari5533 5 месяцев назад

    How can i login with user???

  • @NAVAKING
    @NAVAKING 7 месяцев назад

    how to instal git

  • @kerroumifatimazohra1062
    @kerroumifatimazohra1062 Год назад

    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 103: invalid continuation byte

    • @adilmohak
      @adilmohak  Год назад

      Hi, create an issue on the GitHub repo with full traceback

  • @052_mohin
    @052_mohin Год назад

    When i run pip install -r requirements.txt command I'm getting many errors

    • @adilmohak
      @adilmohak  Год назад

      Consider creating an issue with the errors

  • @gellaabhiram274
    @gellaabhiram274 10 месяцев назад

    would you please tell me how to setup the secret key in .env file

    • @adilmohak
      @adilmohak  10 месяцев назад

      On a Python shell run this code
      from django.core.management import utils
      print(utils.get_random_secret_key())

  • @khaledsamy5558
    @khaledsamy5558 9 месяцев назад

    does this project include database

  • @k.ousmanediallo4134
    @k.ousmanediallo4134 Год назад

    Hello dear, the styling is not working for me please why?

    • @adilmohak
      @adilmohak  Год назад

      Try hard refresh and If the error persists, check the console to see if Django is returning a 404 error for static files such as styles.css.

  • @cuteanimals9775
    @cuteanimals9775 9 месяцев назад

    what is ID number and password for Sign in please

  • @apex9798
    @apex9798 10 месяцев назад

    Hey! The students and lectures, I'm not able to create them! Can you fix it!

    • @adilmohak
      @adilmohak  10 месяцев назад

      Hey, can you please provide me the error log? It would be helpful for me to help you.

    • @ammarahmomin
      @ammarahmomin 9 месяцев назад

      hey , i am getting the same error , is it solved for you now? help me out pls

  • @samiamahbub5040
    @samiamahbub5040 11 месяцев назад

    Can you share your ER model of the project ??

  • @officialkhusus48
    @officialkhusus48 10 месяцев назад

    Helo sir, please your make integration LTI tools, on lms.
    Thanks

  • @kamaraemmanuelf6409
    @kamaraemmanuelf6409 7 месяцев назад

    Hello Sir, thanks so much for your good video ..
    what is the password for the students and staff please

  • @indunilJIT
    @indunilJIT Год назад

    which python version use the project?

  • @juhaymasp.t9312
    @juhaymasp.t9312 Год назад

    why does it not work on command prompt?

    • @adilmohak
      @adilmohak  Год назад +1

      Hi, could you elaborate more on that please, what is not working on command prompt?

    • @juhaymasp.t9312
      @juhaymasp.t9312 Год назад

      i messaged you on gmail

    • @juhaymasp.t9312
      @juhaymasp.t9312 Год назад

      @@adilmohakreply please!

  • @navyas511
    @navyas511 5 месяцев назад

    Hello sir how can we know the password of database

  • @abdulwahidali493
    @abdulwahidali493 Год назад

    everything is deprecated, better you update it

  • @manoj-gt2gh
    @manoj-gt2gh 9 месяцев назад

    makemigration is not done

  • @dbvlog2106
    @dbvlog2106 Год назад

    Can we run in windows ?

    • @adilmohak
      @adilmohak  Год назад

      Of course, you can run it on Windows, I also used Windows when building the project.

  • @ankanmanna2517
    @ankanmanna2517 8 месяцев назад

    the dependencies cannot download successfully
    Getting requirements to build wheel ... error
    error: subprocess-exited-with-error
    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─> [21 lines of output]
    running egg_info
    writing psycopg2_binary.egg-info\PKG-INFO
    writing dependency_links to psycopg2_binary.egg-info\dependency_links.txt
    writing top-level names to psycopg2_binary.egg-info\top_level.txt
    Error: pg_config executable not found.
    pg_config is required to build psycopg2 from source. Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:
    python setup.py build_ext --pg-config /path/to/pg_config build ...
    or with the pg_config option in 'setup.cfg'.
    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.
    For further information please check the 'doc/src/install.rst' file (also at
    ).
    [end of output]
    note: This error originates from a subprocess, and is likely not a problem with pip.
    error: subprocess-exited-with-error
    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─> See above for output.
    note: This error originates from a subprocess, and is likely not a problem with pip.
    (venv) PS C:\Users\ANKAN\Desktop\django-lms-main>

  • @ДенисДо-ш5ц
    @ДенисДо-ш5ц 9 месяцев назад

    Hello Adil. Can I use and develop this project for free?

  • @jasonyang9178
    @jasonyang9178 Год назад

    Thanks for your work. I'm wondering is that still working? I couldn't find the related views when I go /dashboard/ url. I don't know how to create those graphs

    • @adilmohak
      @adilmohak  Год назад

      Hi, the project is still working fine, please check your browser console if there is any error on the dashboard page

    • @kerroumifatimazohra1062
      @kerroumifatimazohra1062 Год назад

      ​@@adilmohak hi i have this error help please UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 103: invalid continuation byte

    • @adilmohak
      @adilmohak  Год назад

      Please create an issue on the GitHub repo, that way other folks may also help you.

  • @tinhNguyen-jx4pp
    @tinhNguyen-jx4pp 3 месяца назад

    heart

  • @SudoTalon
    @SudoTalon Год назад

    can i get you on teamview?

    • @adilmohak
      @adilmohak  Год назад

      Send me DM on Telegram @adilmohak

  • @meditation2501
    @meditation2501 7 месяцев назад

    How to set Student & Lecturers password ?

    • @adilmohak
      @adilmohak  7 месяцев назад

      The id and password of students and lecturers are generated automatically and sent to their email address, we don't set id and password manually

    • @meditation2501
      @meditation2501 7 месяцев назад

      @@adilmohak I am not getting autogenerated email . Which all files I need to update to get message for my smtp?

    • @ArvindKaranje
      @ArvindKaranje 4 месяца назад

      @@adilmohak hello sir ,please provide me a solution for this ...many peoples are facing the same issue now

  • @learncse
    @learncse Год назад

    wait are you habesha

    • @adilmohak
      @adilmohak  Год назад

      awo habesha negn😆🤫

  • @mohamedosmanfuardkamara8558
    @mohamedosmanfuardkamara8558 Год назад

    I followed the setup exactly how it was suggested, but I ended up getting stuck on: python manage.py makemigrations
    Traceback (most recent call last):
    File "C:\Users\WASHINGTON GUY\PycharmProjects\pythonProject\venv\lib\site-packages\environ\environ.py", line 403, in get_value
    value = self.ENVIRON[var_name]
    File "C:\Users\WASHINGTON GUY\AppData\Local\Programs\Python\Python310\lib\os.py", line 680, in __getitem__
    raise KeyError(key) from None
    KeyError: 'DB_NAME'
    The above exception was the direct cause of the following exception:
    Traceback (most recent call last):
    File "C:\Learning_Management_System\manage.py", line 23, in
    main()
    File "C:\Learning_Management_System\manage.py", line 17, in main
    execute_from_command_line(sys.argv)
    File "C:\Users\WASHINGTON GUY\PycharmProjects\pythonProject\venv\lib\site-packages\django\core\management\__init__.py", line 446, in execute_from_command_line
    utility.execute()
    File "C:\Users\WASHINGTON GUY\PycharmProjects\pythonProject\venv\lib\site-packages\django\core\management\__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
    File "C:\Users\WASHINGTON GUY\PycharmProjects\pythonProject\venv\lib\site-packages\django\core\management\base.py", line 402, in run_from_argv
    self.execute(*args, **cmd_options)
    File "C:\Users\WASHINGTON GUY\PycharmProjects\pythonProject\venv\lib\site-packages\django\core\management\base.py", line 443, in execute
    self.check()
    File "C:\Users\WASHINGTON GUY\PycharmProjects\pythonProject\venv\lib\site-packages\django\core\management\base.py", line 475, in check
    all_issues = checks.run_checks(
    File "C:\Users\WASHINGTON GUY\PycharmProjects\pythonProject\venv\lib\site-packages\django\core\checks
    egistry.py", line 88, in run_checks
    new_errors = check(app_configs=app_configs, databases=databases)
    File "C:\Users\WASHINGTON GUY\PycharmProjects\pythonProject\venv\lib\site-packages\django\core\checks\templates.py", line 55, in check_for_template_tags_with_the_same_name
    for conf in settings.TEMPLATES:
    File "", line 1027, in _find_and_load
    File "", line 1006, in _find_and_load_unlocked
    File "", line 688, in _load_unlocked
    File "", line 883, in exec_module
    File "", line 241, in _call_with_frames_removed
    File "C:\Learning_Management_System\SMS\settings.py", line 120, in
    'NAME': env('DB_NAME'),
    File "C:\Users\WASHINGTON GUY\PycharmProjects\pythonProject\venv\lib\site-packages\environ\environ.py", line 197, in __call__
    return self.get_value(
    File "C:\Users\WASHINGTON GUY\PycharmProjects\pythonProject\venv\lib\site-packages\environ\environ.py", line 407, in get_value
    raise ImproperlyConfigured(error_msg) from exc
    django.core.exceptions.ImproperlyConfigured: Set the DB_NAME environment variable

    • @adilmohak
      @adilmohak  Год назад +1

      Hey Mohamed,
      Here are some things you can check:
      1. Make sure that the .env file is in the same directory as your manage.py file.
      2. Make sure that the variable name in your .env file matches the variable name in your Django settings file.
      3. Make sure that the variable values in your .env file are properly formatted. For example, if your database name contains spaces or special characters, you may need to enclose it in quotes or escape the special characters.
      If none of them works, just ignore environment variables (.env file) and directly configure to your settings.py file

    • @mohamedosmanfuardkamara8558
      @mohamedosmanfuardkamara8558 Год назад

      @@adilmohak Thanks very much, I made a mistake by creating the .env file in the app (SMS) directory.

    • @arianneyoon7374
      @arianneyoon7374 Год назад

      @@adilmohak do we have to nake our own db? because DB_NAME=django_sms_data is an error

    • @adilmohak
      @adilmohak  Год назад

      @@arianneyoon7374 Yes, you have to create a PostgreSQL db, the db name can be any name but the db name and the variable DB_NAME value must be the same.

    • @dbvlog2106
      @dbvlog2106 Год назад +1

      @@adilmohak how to create a database in postgresql

  • @AbubakarAshiruYunusa
    @AbubakarAshiruYunusa Год назад

    hi brother, can i have your social media accounts pls?

    • @adilmohak
      @adilmohak  Год назад +1

      Hi there, you can find my contacts on the GitHub link github.com/adilmohak/django-lms

    • @AbubakarAshiruYunusa
      @AbubakarAshiruYunusa Год назад

      @@adilmohak ok jazakallahu khairan, i'll contact you soon in sha Allah

    • @AbubakarAshiruYunusa
      @AbubakarAshiruYunusa Год назад

      @@adilmohak and by the way, i run your code, but the static files does not work, i dont know why