No module named "newsimage" app

Visto 35 veces
Saltar al primer mensaje no leído

Melissa Malala

no leída,
25 sept 2018, 7:06:1125/9/18
a Django users
My project is giving me an error called "No Module named "newsimage" app (2 Screenshots attached) whenever I run the server using:
python3.6 manage.py runserver. 

I have added the name of the app under INSTALLED_APPS but it won't recognise the name of the app. Is there anything else I need to do?
Screen Shot 2018-09-25 at 13.20.35.png
Screen Shot 2018-09-25 at 13.20.21.png

Tatenda Marshall

no leída,
25 sept 2018, 7:12:3825/9/18
a django...@googlegroups.com
Did you run any migrations

"The world is just for a moment so make it a  moment of obedience"


--
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 django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
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/8533b537-cd43-4492-813c-eac8e5dbded5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vinod Kumar

no leída,
25 sept 2018, 7:19:5925/9/18
a django...@googlegroups.com
add app name after default dajngo.contrib . In your case INSTALLED_APPS will look like 

INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',

# third party modules

# custom module
    'newsimage',
]


--
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 django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
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/8533b537-cd43-4492-813c-eac8e5dbded5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

************************************************************************

This e-mail and all attachments are intended solely for use by the intended recipient and may contain confidential / proprietary information of KiwiTech, LLC, subject to important disclaimers and conditions including restrictions on the use, disclosure, transfer or export of such information. If you have received this message in error or are not the named recipient(s), please immediately notify the sender at the telephone number stated above or by reply e-mail and delete this e-mail from your computer

Okware Aldo

no leída,
25 sept 2018, 12:47:3425/9/18
a django...@googlegroups.com
Hi Mellisa, 

are you using the module/app 'newsimage' in some part of your application? 

first make changes to install apps section as Vinod Kumar suggested, then make sure whenever you  make reference to the app its imported. 

Melissa Malala

no leída,
26 sept 2018, 1:31:3226/9/18
a Django users
Thank you all very much,

I made the migration and the app works fine. 
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos