Not sure why you are importing this into your main project urls.py but its
very straight forward
from blog.sitemaps import BlogPostsSitemap
question... are you trying to map the application url here? then you should
use path('xxxx/' , Include("blog.urls"))
On Tuesday, September 8, 2020 at 4:39:05 AM UTC-4 [email protected] wrote:
> Sorry, point no 1 needs to be revised..
> 1. In urls.py, I want to import BlogPostsSitemap
>
>
>
--
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/0f74b537-3fa8-4725-8098-b602417ea41bn%40googlegroups.com.