Kanan Rahimov

Results 16 comments of Kanan Rahimov

Hi @RizaHKhan! I also want to have something similar but have not yet had time to implement it. I will try to reserve some time and follow up, but if...

@Nkarnaud could you please provide the actions you take to run the app? Do you set `src` as source root?

@Nkarnaud no, you can use the version which is in `assignments/assignment2/devhub-0.1.0`.

Steps to start with the assignment: ``` cd assignments/assignment2 cp -R devhub-0.1.0 solutions/ cd solutions/ virtualenv venv -p python3 source ./venv/bin/activate python src/manage.py runserver ```

@Nkarnaud I found error. In `src/devhub/settings` change this `account.app.AccountConfig` to this `account.apps.AccountConfig`.

@Nkarnaud and also in `src/account/models.py` change this `REQUIRED_FIELDS = ['username', 'email']` to `REQUIRED_FIELDS = ['email']`.

@Nkarnaud and before `runserver` run: ``` python manage.py makemigrations python manage.py migrate ``` Let me know if you can run app now.

I have updated the source code with the fixes in `assignments/assignment2/devhub-0.1.0`.

@HelSirius that's great! We all probably need to move to PR instead of separate repositories. For this, I need to prepare a proper repo structure. Will to it today and...

To all members: - Please check Python Style Guide (https://www.python.org/dev/peps/pep-0008/) - Always add tests Comments for @HelSirius: - use naming conventions - use one variable for operations - add unit...