-
1
first checksum then run the app (no demo) and just after that a coding problem where he asked ##"(you have to create a form from scratch take user name as input and have a dropdown in the form itself where you have to show the option to select all the lots which are available in the database (updated dynamically)and a search button ,On seach you have to fetch the data of all the spots which are booked by that user on the selected lot)"## also asked for some models.py AND routes explaination Its not all but this is what i can rememberTimes asked 1Official solution
Simplevenv activate → dependencies → DB create/migrate → flask run. Browser pe localhost dikhao.
Example
python -m venv .venv source .venv/bin/activate pip install -r requirements.txt flask runCommunity answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
2
What is usermixin and why use it in DbTimes asked 1Official solution
SimpleUserMixin RoleMixin Flask-Security interfaces: is_authenticated, roles relation.
Methods milte. Models inherit.
Pehle 1-line definition, phir related MAD2 layer (Vue SFC / Flask route / models.py / tasks.py / Redis).
4-line formula: input kahan se aaya, auth/validation kaunsa, DB ya cache ya Celery, kya return.
Related mix mat karo — cache ≠ Celery, authentication ≠ authorization, v-if ≠ v-show, Beat ≠ Worker. Follow-up ke liye ek difference ready rakho.
Project example: class User(db.Model, UserMixin).
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
3
Explain your __init__ file (basically app setup)Times asked 1Official solution
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
4
Difference in cell pading and spacingTimes asked 1Official solution
SimpleMAD1 typical: Browser → Flask routes → validate/auth → SQLAlchemy → SQLite → Jinja response.
Suggested flowRequest → Route → Auth check → DB → render_template / redirect
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
5
What is VCs and can you give an exampleTimes asked 1Official solution
SimpleGit version control: commit history dikhao. VCS = Version Control System.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
6
What will happen if your remove secret key ,which features will be effected on on appTimes asked 1Official solution
SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.
Example
/* button red */ .btn-primary { background: red; } /* center navbar item */ .navbar { justify-content: center; }Viva tipDevTools se pehle try, phir file mein permanent change.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet