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

IHRUser_channel is missing #24

Open
mhmdahmedfathi opened this issue Feb 22, 2023 · 6 comments
Open

IHRUser_channel is missing #24

mhmdahmedfathi opened this issue Feb 22, 2023 · 6 comments

Comments

@mhmdahmedfathi
Copy link
Contributor

Whenever I tried to run the server, it kept telling me that there were no IHRUser_channel imported from the model.

The error is happening in ihr/views.py on 5 lines in 3 different functions.

  1. second import of the model
  2. 3 lines are in UserSaveChannelView function
  3. 1 line is in UserGetChannelView function
@romain-fontugne
Copy link
Member

@EndlessSummer0107 I think the model.py file was missing in the PR we merged. Do you have this file available?

@CoderLC2023
Copy link
Contributor

Hi there, I've sent the models.py to Romain through email. Sorry for that!

@mhmdahmedfathi
Copy link
Contributor Author

mhmdahmedfathi commented Mar 12, 2023

Hi @EndlessSummer0107, Romain sent me the model.py file but I don't see IHRuser_channel method yet.
So can you please ping me with it ?

@CoderLC2023
Copy link
Contributor

Hi @mhmdahmedfathi I will check it and come back to you later. Sorry for that. I have this project on my old PC. it takes some time to review it.

@CoderLC2023
Copy link
Contributor

Hi @mhmdahmedfathi I've checked my work. The method IHRuser_Channel is an existing class in the IHR models.py file. It was created before my commitment and I did not edit it.
screenshot

@mhmdahmedfathi
Copy link
Contributor Author

mhmdahmedfathi commented Mar 13, 2023

image

Hi, @EndlessSummer0107, and it's okay. Take your time for sure.
It's strange, but for now I didn't see it, and it is also not in the model. py and this is what I see in the git history: that you are the one who has added it to the view file. Anyway, can you send the whole class to me so I can add it again, please?

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

3 participants