Comments (9)
Беру в работу
from hexlet-friends.
@fey, вы видите это таким образом или нужно что-то поменять?
from hexlet-friends.
ага, только где some token сразу инпут можно выводить с токеном.
from hexlet-friends.
from hexlet-friends.
@alllexxx1 да, верно. Туда должен подставляться будет токен пользователя. Если нет, то поле пустое.
from hexlet-friends.
@fey , правильно я понимаю, что на данном этапе должна быть добавлена болванка формы, которая пока ничего не делает?
Общий список изменений, которые я внес:
- добавил "настройки" в navbar;
- создал шаблон с настройками "contributor_settings.html", вьюшку "contributor_settings.py";
- в mixin.py добавил 2 миксина. Первый хэндлит неавторизованных пользователей, второй - доступ к чужим настройкам. Написал к ним документацию;
- сделал локализацю.
Is it all right?
from hexlet-friends.
@alllexxx1 можете добавить пользователю атрибут github_token чтобы форма могла уже сейчас добавлять токен юзеру.
Насчет того, что сделано - присылайте ПРчик и ссылку на демо =)
from hexlet-friends.
@fey, поле github_token должно быть добавлено модели Contributor, верно?
from hexlet-friends.
@fey если другой таблицы пользователя у нас нет, то да.
Схема такая
- пользователь логинится в hexlet-friends
- идет в наастройки, ставит токен
- используя этот токен потом тянутся данные с гитхаба у этого пользователя
from hexlet-friends.
Related Issues (20)
- Bug: Фильтры 'Closed'и 'Good first issue' в разделе 'Проблемы' не работают одновременно HOT 1
- Bug: Не работает поиск по тегам в разделе 'Проблемы' HOT 1
- Bug: В разделе 'Проблемы' фильтры не соответствуют колонкам в таблице HOT 3
- Bug: Invalid layout in the mobile version in the 'My Statistics' section HOT 1
- В мобильной версии переместить открывающийся список вкладок в правую часть экрана.
- Некорректная верстка поискового поля в активном состоянии HOT 1
- Отсутствие фавиконки сайта в режиме сжатого экрана HOT 1
- Bug: Дополнить достижения в личном кабинете пользователя личной статистикой HOT 4
- Bug: Неправильная работа пагинации во вкладке 'Проблемы' HOT 1
- Bug: Не работает сайт HOT 3
- sentry: Slow DB Query /repositories/ HOT 1
- sentry: N+1 Query HOT 1
- remove WPS, use flake8 HOT 7
- Translate issues into English
- Bug: Не работает поиск по тегам в разделе "Репозитории
- Bug: Broken layout at 1000x700 extension HOT 1
- Unload production db for debugging HOT 1
- Bug: Search by tags in the “Repositories” section does not work
- Bug: Calculation errors on the "Achievements" page
- sentry report: Function Regression contributors.views.repositories_views.repositories.ListView.get_context_data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexlet-friends.