It should be: import .views Or from .views import your_view It should be a relative import
On Sat, 3 Sep 2022 at 7:16 PM, Lakshyaraj Dash <[email protected]> wrote: > She has views inside tutorials then quickstart. She has named every folder > as tutorial. She needs to rename some folders > > On Sat, 3 Sep, 2022, 18:41 Vj Vijay, <[email protected]> wrote: > >> It should be from tutorial import views >> >> On Fri, Sep 2, 2022, 12:51 PM Pooja Kumari <[email protected]> >> wrote: >> >>> Hello team, >>> please help me with this error. >>> >>> -- >>> 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/3e46fc90-4d92-4db9-abed-7733babf7d4dn%40googlegroups.com >>> <https://groups.google.com/d/msgid/django-users/3e46fc90-4d92-4db9-abed-7733babf7d4dn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> 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/CADOHSQWg9TQ1U1MTheZ3fgOrJGS85WY-j9K%3DaAhQhNUk%2B0_PkA%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CADOHSQWg9TQ1U1MTheZ3fgOrJGS85WY-j9K%3DaAhQhNUk%2B0_PkA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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/CAF7qQgDST4C8Wo9qJ0G4LKNHhSU9mhvEo6mUwDdCTJU162HksQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAF7qQgDST4C8Wo9qJ0G4LKNHhSU9mhvEo6mUwDdCTJU162HksQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Regards, Swetank Subham B.Tech | CSE | Software Developer Software Engineer, Great Software Laboratory ------------------------------ Contact: Mo.:+91 9110 09 0019 WhatsApp: +91 9110 09 0019 Email : [email protected] <https://www.linkedin.com/in/swetank-subham/> <https://github.com/swetanksubham> -- 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/CADQ%3Ddpr%3DWjjgw1cSik%3DhJB7RXJhiym1ixNettsVHT0Vrs%2Ba%2BhQ%40mail.gmail.com.

