Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Object is not Reversible: index.html #7

Open
ounamg opened this issue Jun 12, 2018 · 7 comments
Open

Set Object is not Reversible: index.html #7

ounamg opened this issue Jun 12, 2018 · 7 comments

Comments

@ounamg
Copy link

ounamg commented Jun 12, 2018

image

  • {{ album.album_title }}
  • gives error in this line, the bold part
    @regnald205
    Copy link

    in any urlpatterns of your site change {} to []

    @rafiqulrasel
    Copy link

    please change urlpattern set to list or {} to [] will be solve

    @darshan-99
    Copy link

    I have check all the files but still error is not solved.
    U have any other solution??

    @karimkohel
    Copy link

    @rafiqul-rasel and @regnald205 are right, i put my url patterns in a set without noticing and changing it back to a list worked

    @Krymets
    Copy link

    Krymets commented Dec 30, 2022

    In case of such an error, pay attention to the main URLS.py, and replace {} with []

    @mAnIaC49
    Copy link

    mAnIaC49 commented Apr 19, 2023

    I was facing the same problem even though my urlpatterns had [] while taking cs50W and after putting a lot of efforts it turned out that I had created the project with the command 'python' but it should have been 'python3' since I was using python3 and then I created a fresh project and copy pasted the same codes into it and used the command 'python3' everywhere
    and it worked

    @mAnIaC49
    Copy link

    mAnIaC49 commented Jun 21, 2023 via email

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    7 participants