This is my whole Traceback
Traceback (most recent call last):
  File "manage.py", line 15, in <module>
    execute_from_command_line(sys.argv)
  File
"/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py",
line 381, in execute_from_command_line
    utility.execute()
  File
"/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py",
line 357, in execute
    django.setup()
  File "/usr/local/lib/python3.7/site-packages/django/__init__.py", line
24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python3.7/site-packages/django/apps/registry.py",
line 114, in populate
    app_config.import_models()
  File "/usr/local/lib/python3.7/site-packages/django/apps/config.py", line
211, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib64/python3.7/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
  File "/home/ec2-user/wavybeatz/music/models.py", line 4, in <module>
    class Album(models.Model):
  File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py",
line 117, in __new__
    new_class.add_to_class('_meta', Options(meta, app_label))
  File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py",
line 321, in add_to_class
    value.contribute_to_class(cls, name)
  File
"/usr/local/lib/python3.7/site-packages/django/db/models/options.py", line
204, in contribute_to_class
    self.db_table = truncate_name(self.db_table,
connection.ops.max_name_length())
  File "/usr/local/lib/python3.7/site-packages/django/db/__init__.py", line
28, in __getattr__
    return getattr(connections[DEFAULT_DB_ALIAS], item)
  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line
201, in __getitem__
    backend = load_backend(db['ENGINE'])
  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line
110, in load_backend
    return import_module('%s.base' % backend_name)
  File "/usr/lib64/python3.7/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
  File
"/usr/local/lib/python3.7/site-packages/django/db/backends/sqlite3/base.py",
line 66, in <module>
    check_sqlite_version()
  File
"/usr/local/lib/python3.7/site-packages/django/db/backends/sqlite3/base.py",
line 63, in check_sqlite_version
    raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found
%s).' % Database.sqlite_version)
django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is
required (found 3.7.17).

On Sat, Jul 20, 2019 at 12:29 AM anchal agarwal <[email protected]>
wrote:

> I used default sqlite as my Database
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.sqlite3',
> 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
> }
> }
> My python version is python3 and Django version is 2.1.5
>
> On Fri, Jul 19, 2019 at 7:06 PM Desh Deepak <[email protected]>
> wrote:
>
>> Hi, show me your database connection, also tell me python and Django
>> version.
>>
>>
>> On Fri, 19 Jul 2019, 18:06 anchal agarwal, <[email protected]>
>> wrote:
>>
>>> Hello Django users,
>>> i am trying to deploy my django on AWS
>>> I am following this
>>> https://medium.com/@charlesthk/deploy-nginx-django-uwsgi-on-aws-ec2-amazon-linux-517a683163c6
>>> Everything was going right but when i run python manage.py migrate ,
>>> it's giving me this error
>>> django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is
>>> required (found 3.7.17).
>>> how can i resolve this?
>>> Please help me
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAMT%3DisVCsYAju5agUWxPrpjZ5a-NGc1X0A7U34c4QthnAM0jKA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAMT%3DisVCsYAju5agUWxPrpjZ5a-NGc1X0A7U34c4QthnAM0jKA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJ0m4xiKUd3sOH0mwJtsUKS-mO8w4hok6VmKoS%3DFEbaSJ9XSag%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAJ0m4xiKUd3sOH0mwJtsUKS-mO8w4hok6VmKoS%3DFEbaSJ9XSag%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMT%3DisWL4x%2BQVz5x3p_xn8mPZc93U5Vg6DjgPnEkyaCbwA0QhQ%40mail.gmail.com.

Reply via email to