[Fixed]-How to get username part from example.com/username/gallery in case of ArchiveIndexView?

1👍

Your URL captures the username as slug, so you can get it from self.kwargs['slug'].

Leave a comment