-
1
the above response is for level 2Times asked 1
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Proctor workspace
No student reviews for this proctor yet.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simplerender_template Jinja HTML file ko data deke final HTML banata hai.
Example
return render_template('dashboard.html', user=user, lots=lots)
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDebug: terminal traceback padho, print/logging, Flask debug, browser Network/Console, reproduce minimum steps.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleProject overview: problem → roles → main entities → key flows (register, book, admin approve).
Viva tip1 minute elevator pitch ready rakho, phir demo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleGET data read/show karta hai (idempotent). POST create/submit karta hai (form).
Example
@app.route('/login', methods=['GET', 'POST'])
def login():
if request.method == 'POST':
# validate + session
...
return render_template('login.html')
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCRUD = Create Read Update Delete. Admin pe ek resource ke 4 ops dikhao.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleGET data read/show karta hai (idempotent). POST create/submit karta hai (form).
Example
@app.route('/login', methods=['GET', 'POST'])
def login():
if request.method == 'POST':
# validate + session
...
return render_template('login.html')
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleClient storage: cookies, localStorage, sessionStorage, IndexedDB. Tokens often localStorage; sessions often cookie.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleJinja2 Flask ka template engine — HTML ke andar {{ }} variables, {% %} logic.
Example
{% for lot in lots %}
<li>{{ lot.name }} — {{ lot.spots }}</li>
{% else %}
<p>No lots</p>
{% endfor %}
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleLive Flask coding: chhota route likho, save, browser/curl se test. Syntax error terminal mein padho.
Example
@app.route('/ping')
def ping():
return jsonify(ok=True)
@app.route('/even/<int:n>')
def even(n):
return 'even' if n % 2 == 0 else 'odd'
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleLevel = viva difficulty band. Level 1 usually demo + basics; higher pe live coding + deeper theory.
Viva tipJo level assign hai uske hisaab se demo + theory ready rakho.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleVuex/Pinia ghar ka notice board. Har room (component) same user/token dekhe.
State data, mutations sync change, actions async API phir commit.
Local data() sirf us component. Token/user global.
Pinia Vue 3 official, kam boilerplate. Vuex older MAD2 still common.
Example
state: { user: null }
mutations: { setUser(s, u) { s.user = u } }
actions: { async login({ commit }, form) {
const u = await api.login(form); commit('setUser', u)
}}Project example: store user + token login action. Navbar getters isAdmin. Logout clear LS+state.
Viva tipLocal/Session storage persist ke liye, reactive share ke liye store. Pinia Vue 3 official, Vuex older.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleMAD1 typical: Browser → Flask routes → validate/auth → SQLAlchemy → SQLite → Jinja response.
Suggested flowRequest → Route → Auth check → DB → render_template / redirect
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.
Example
session['user_id'] = user.id
uid = session.get('user_id')
user = User.query.get(uid)Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simpledb.relationship se object graph: lot.spots, booking.user. backref reverse side auto deta hai.
Example
spots = db.relationship('Spot', backref='lot', cascade='all, delete-orphan')
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleStatus code server ka result: 200 OK, 302 redirect, 400 bad input, 401/403 auth, 404 not found, 500 server error.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleJinja2 Flask ka template engine — HTML ke andar {{ }} variables, {% %} logic.
Example
{% for lot in lots %}
<li>{{ lot.name }} — {{ lot.spots }}</li>
{% else %}
<p>No lots</p>
{% endfor %}
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleGitHub repo open karo: commits, collaborators, README. Examiner check karta hai tumne khud kaam kiya.
Example
Settings → Collaborators
Commits: regular messages, last-day dump nahi.Viva tipPrivate repo access pehle de do. Main branch submitted ZIP se match honi chahiye.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simpledb.relationship se object graph: lot.spots, booking.user. backref reverse side auto deta hai.
Example
spots = db.relationship('Spot', backref='lot', cascade='all, delete-orphan')
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleJWT teen tukde ki signed chitthi: header.payload.signature. Padhi ja sakti hai, badli nahi ja sakti.
Encoded (Base64) + signed, encrypted nahi (JWE alag). Payload mein password mat daalo — koi jwt.io pe dekh lega.
Login pe server secret se HMAC (HS256). Har API Authorization: Bearer <token>.
Expiry exp. Change payload → signature fail → 401.
Session MAD1 server yaad rakhta. JWT MAD2 client rakhta, server stateless-ish.
Example
eyJhbGciOiJIUzI1NiJ9.{"sub":1,"role":"admin"}.signature
# Authorization: Bearer <token>Project example: POST /login → token LS. fetch interceptor header. @jwt_required APIs.
Viva tipAlgo HS256. Secret env var. jwt.io pe payload dikhao, secret public site pe mat paste.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleBlock poori line leta hai, Inline text ke saath baithta hai.
Block (div, p, h1, section): width 100%, next element neeche aata hai. Height/width/margin set kar sakte ho.
Inline (span, a, strong): sirf content jitni jagah. Width/height generally nahi chalti.
Inline-block: inline ki tarah baithta hai, lekin width/height milti hai.
Example
<div>Hello</div><div>World</div> do lines. <span>Hello</span> <span>World</span> ek line.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleJinja for loop list render karta hai. loop.index, else branch empty list pe.
Example
{% for u in users %}
<tr><td>{{ loop.index }}</td><td>{{ u.email }}</td></tr>
{% endfor %}
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
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 run
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCascade parent delete pe children pe kya ho: delete-orphan related rows hata deta hai.
Example
db.relationship('Spot', cascade='all, delete-orphan')Viva tipParking lot delete → uske spots/bookings policy clear bolo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simpledb.relationship se object graph: lot.spots, booking.user. backref reverse side auto deta hai.
Example
spots = db.relationship('Spot', backref='lot', cascade='all, delete-orphan')
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleLive Flask coding: chhota route likho, save, browser/curl se test. Syntax error terminal mein padho.
Example
@app.route('/ping')
def ping():
return jsonify(ok=True)
@app.route('/even/<int:n>')
def even(n):
return 'even' if n % 2 == 0 else 'odd'
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleLive Flask coding: chhota route likho, save, browser/curl se test. Syntax error terminal mein padho.
Example
@app.route('/ping')
def ping():
return jsonify(ok=True)
@app.route('/even/<int:n>')
def even(n):
return 'even' if n % 2 == 0 else 'odd'
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simpledb.relationship se object graph: lot.spots, booking.user. backref reverse side auto deta hai.
Example
spots = db.relationship('Spot', backref='lot', cascade='all, delete-orphan')
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleFlask lightweight Python web framework — routes, request/response, templates. MAD1 ka backend yahi hai.
Example
from flask import Flask
app = Flask(__name__)
@app.route('/')
def home():
return 'Hello'Viva tipFlask micro hai: jo chahiye (DB, login, forms) khud jodte ho.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Yeh MAD-1 viva question tumhare project ke context se linked hai. Short answer is structure se do:
Pehle 1 line definition/purpose, phir tumhare project ka example, phir chhota code/flow.
Typical Flask flowBrowser request → @app.route controller → SQLAlchemy model/DB → Jinja template response.
Auth: session['user_id'] + role check. CRUD: add/commit, query.all, field update, delete.
Live change maange to: related model → route → template, phir browser refresh karke dikhao.
Example (generic create):
obj = Model(name=request.form.get('name'))
db.session.add(obj); db.session.commit()
return redirect(url_for('list_view'))
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleJinja2 Flask ka template engine — HTML ke andar {{ }} variables, {% %} logic.
Example
{% for lot in lots %}
<li>{{ lot.name }} — {{ lot.spots }}</li>
{% else %}
<p>No lots</p>
{% endfor %}
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleHTTP verbs REST ke tools. Methods HTTP ke hain, REST unhe convention se use karta hai.
GET read cacheable. POST create payload. PUT replace. PATCH patch. DELETE remove.
GET exists bina REST ke bhi — browser address bar.
HTTP verbs + status REST ki zabaan. GET read, POST create, PUT replace, PATCH partial, DELETE remove. GET typically no body.
Status: 200 OK, 201 created, 202 accepted (Celery task), 400 bad input, 401 no/bad token, 403 role nahi, 404 missing, 409 conflict (double book), 500 server.
AJAX/fetch page reload nahi. SPA poori isi pe. Postman se bina Vue ke API prove karo — examiner pasand.
Example
GET /api/venues
POST /api/venues
PUT /api/venues/1
DELETE /api/venues/1Project example: resources.py methods list. Postman 4-5 calls.
Viva tipGET typically no body (cacheable). POST/PUT/PATCH haan payload. PUT idempotent, POST nahi.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simpledb.relationship se object graph: lot.spots, booking.user. backref reverse side auto deta hai.
Example
spots = db.relationship('Spot', backref='lot', cascade='all, delete-orphan')
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleAuthentication: tu kaun hai? (login). Authorization: tujhe permission hai? (role check).
Example
# auth
if check_password_hash(user.password, pwd):
session['user_id'] = user.id
# authz
if user.role != 'admin':
abort(403)
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleGET data read/show karta hai (idempotent). POST create/submit karta hai (form).
Example
@app.route('/login', methods=['GET', 'POST'])
def login():
if request.method == 'POST':
# validate + session
...
return render_template('login.html')
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleStack bolo: Python, Flask, Jinja2, SQLAlchemy, SQLite, HTML/CSS/Bootstrap, maybe Chart.js.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleORM = Object Relational Mapping. Tables → Python classes. Raw SQL kam likhte ho.
Example
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(120), unique=True)
User.query.get(5) # SELECT ... WHERE id=5
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleUngli rakhe to 4-line formula — panic ki jagah structure.
1) File ka role: model / Flask route / Vue SFC / celery task / config
2) Input kahan: JSON, params, token, props, $route
3) Kya kaam: query, cache, validation, .delay()
4) Output: jsonify, this.items, email, redirect
Unknown keyword: import, decorator, if, commit — har ka reason. Bluff mat.
Suggested flow1) Kaunsi layer?
2) Input?
3) DB/cache/task?
4) Response/UI?
Project example: Booking POST: jwt, seats check, commit, 201, Vue list push.
Viva tipUnknown keyword: import, decorator, if, commit — har ka reason. Panic mat.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleJinja2 Flask ka template engine — HTML ke andar {{ }} variables, {% %} logic.
Example
{% for lot in lots %}
<li>{{ lot.name }} — {{ lot.spots }}</li>
{% else %}
<p>No lots</p>
{% endfor %}
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleMVC: Model=data (SQLAlchemy), View=Jinja HTML, Controller=Flask routes/business logic.
Flask loosely MVC follow karta hai — routes controllers, templates views, models.py models.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleProject overview: problem → roles → main entities → key flows (register, book, admin approve).
Viva tip1 minute elevator pitch ready rakho, phir demo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simpledb.relationship se object graph: lot.spots, booking.user. backref reverse side auto deta hai.
Example
spots = db.relationship('Spot', backref='lot', cascade='all, delete-orphan')
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleFlask lightweight Python web framework — routes, request/response, templates. MAD1 ka backend yahi hai.
Example
from flask import Flask
app = Flask(__name__)
@app.route('/')
def home():
return 'Hello'Viva tipFlask micro hai: jo chahiye (DB, login, forms) khud jodte ho.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleJinja2 Flask ka template engine — HTML ke andar {{ }} variables, {% %} logic.
Example
{% for lot in lots %}
<li>{{ lot.name }} — {{ lot.spots }}</li>
{% else %}
<p>No lots</p>
{% endfor %}
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePrimary key row ka unique identity — usually id Integer autoincrement.
Example
id = db.Column(db.Integer, primary_key=True)
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleSQLAlchemy MAD1 ka common ORM. Flask-SQLAlchemy wrapper se db.Model, db.session.
Example
user = User(email='a@b.com')
db.session.add(user)
db.session.commit()
users = User.query.filter_by(role='admin').all()
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
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.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
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.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleValidation = input rules: required, email format, length, unique. Frontend UX, backend security — dono.
Example
if not email or '@' not in email:
flash('Invalid email')
return redirect(request.url)
if User.query.filter_by(email=email).first():
flash('Email taken')
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleClient storage: cookies, localStorage, sessionStorage, IndexedDB. Tokens often localStorage; sessions often cookie.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simple30 second: naam, degree, project kya hai, stack (Flask + Jinja + SQLAlchemy + SQLite).
Example
Main Priya, IITM BS. MAD1 mein parking/ticket app — Flask backend, Jinja templates, session login, SQLite.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleREST: resources + HTTP verbs. GET read, POST create, PUT/PATCH update, DELETE remove. Stateless ideal.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
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 run
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePOST naya janam (har baar naya id). PUT poori photo replace. PATCH sticker chipkao.
POST create, not idempotent. PUT full update, idempotent. PATCH partial.
POST ki jagah PUT se REST semantics toot. GET typically no body.
CRUD map: POST create, GET read, PUT/PATCH update, DELETE delete.
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.
Example
POST /api/venues
PUT /api/venues/1 {all fields}
PATCH /api/venues/1 {only name}Project example: POST /api/venues create. PUT /venues/1 saari fields. PATCH sirf name.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simplestyle = CSS. Inline, <style>, Bootstrap classes, ya Vue scoped CSS.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simplelazy loading: related objects kab load hon. lazy=True default (access pe query). joined/eager pehle se join.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
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.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
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.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleSearch: form/query param → ilike filter → results template.
Example
q = request.args.get('q', '').strip()
lots = Lot.query.filter(Lot.name.ilike(f'%{q}%')).all()
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleORM = Object Relational Mapping. Tables → Python classes. Raw SQL kam likhte ho.
Example
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(120), unique=True)
User.query.get(5) # SELECT ... WHERE id=5
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCRUD = Create Read Update Delete. Admin pe ek resource ke 4 ops dikhao.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleLevel = viva difficulty band. Level 1 usually demo + basics; higher pe live coding + deeper theory.
Viva tipJo level assign hai uske hisaab se demo + theory ready rakho.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simplemodels.py = har table ki class: columns, PK/FK, relationships. Yeh Model layer hai.
Suggested flow1) Classes list karo
2) Har table ka kaam 1 line
3) Relationships (1-M / M-M)
4) Constraints (unique, nullable)
Example
class Lot(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(80), nullable=False)
spots = db.relationship('Spot', backref='lot', lazy=True)
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleVue = UI ka smart assistant. Data badlo, screen khud update. MAD1 Jinja har click pe naya HTML.
Progressive frontend framework. Components, reactivity, directives.
MAD2 SPA: ek index.html, Vue Router pages, Flask sirf JSON.
Fayde: easy, SFC, docs. Vs React: templates HTML-like, course sikhata hai. Vs plain JS: baar-baar DOM mat chhedo.
Example
<!-- HelloWorld.vue -->
<template>
<h1>{{ msg }}</h1>
</template>
<script>
export default { data() { return { msg: 'Hello' } } }
</script>Project example: Navbar.vue + views (Login, Dashboard). data() / setup() reactive. fetch APIs.
Viva tipFayde: easy, SFC, reactivity. Vs React: chhota learning curve. Vs plain JS: UI state auto-update.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleProps parent ki thali child ko dena. Child thali tod ke parent ki thali na badle — emit bolo.
Declare props, parent :venue="v". One-way. Mutate mat. Types/required Vue 3.
List parent, card child — classic viva.
Component = reusable UI block (Navbar, Card). Props parent→child data, emit child→parent event. Slots parent HTML inner content.
computed cache + reactive derive (filtered list). watch side-effect (query change pe API). methods events. ref() primitive, reactive() object. Vuex/Pinia global store; localStorage persist, store nahi.
SFC: template + script + style ek .vue file. Parent-child exam favourite: list parent, row child :item + @delete.
Example
<VenueCard :venue="v" @select="onSelect" />
props: ['venue']
this.$emit('select', this.venue.id)Project example: VenueCard :venue. Child $emit('select', id).
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simpleemit = child parent ko chillata hai: 'delete 5'. Props down, events up.
this.$emit('delete', id). Parent @delete="removeRow".
Grandchild: chain emit ya Vuex/provide.
Component = reusable UI block (Navbar, Card). Props parent→child data, emit child→parent event. Slots parent HTML inner content.
computed cache + reactive derive (filtered list). watch side-effect (query change pe API). methods events. ref() primitive, reactive() object. Vuex/Pinia global store; localStorage persist, store nahi.
SFC: template + script + style ek .vue file. Parent-child exam favourite: list parent, row child :item + @delete.
Example
this.$emit('delete', id)
// parent: <Child @delete="removeRow" />Project example: BookingRow emit cancel → parent list se hata + API DELETE.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleProps parent→child values. Emit child→parent signal. Basic communication.
Difference props and emit.
Component = reusable UI block (Navbar, Card). Props parent→child data, emit child→parent event. Slots parent HTML inner content.
computed cache + reactive derive (filtered list). watch side-effect (query change pe API). methods events. ref() primitive, reactive() object. Vuex/Pinia global store; localStorage persist, store nahi.
SFC: template + script + style ek .vue file. Parent-child exam favourite: list parent, row child :item + @delete.
Project example: Card props venue emit select.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simple@app.route URL ko Python function se jodta hai. @ wala cheez decorator hai.
@app.route('/hello/<name>', methods=['GET'])
def hello(name):
return f'Hello {name}'Decorator function ko wrap karke extra behaviour deta hai (route register, login_required).
Endpoint generally function name. Path /hello/Ram.
<int:id> type converter — sirf integer. Bina converter string. ID chahiye to int safer.
methods=['POST'] only POST. Default GET.
functools.wraps custom decorator mein original function name/docs preserve karta hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleMAD1 typical: Browser → Flask routes → validate/auth → SQLAlchemy → SQLite → Jinja response.
Suggested flowRequest → Route → Auth check → DB → render_template / redirect
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleAJAX page reload ke bina server se data laata hai. Aaj kal fetch() + Promises.
fetch('/api/users').then(r => r.json()).then(data => { ... })
Promise: future value (pending/fulfilled/rejected). fetch Promise return karta hai.
SPA (Vue): ek HTML, baaki routes JS se, partial update. MAD1 generally full page render (Jinja) — submit pe poora refresh.
async/await Promise ka clean syntax.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleAuthentication: tu kaun hai? (login). Authorization: tujhe permission hai? (role check).
Example
# auth
if check_password_hash(user.password, pwd):
session['user_id'] = user.id
# authz
if user.role != 'admin':
abort(403)
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleAuthentication: tu kaun hai? (login). Authorization: tujhe permission hai? (role check).
Example
# auth
if check_password_hash(user.password, pwd):
session['user_id'] = user.id
# authz
if user.role != 'admin':
abort(403)
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleGitHub repo open karo: commits, collaborators, README. Examiner check karta hai tumne khud kaam kiya.
Example
Settings → Collaborators
Commits: regular messages, last-day dump nahi.Viva tipPrivate repo access pehle de do. Main branch submitted ZIP se match honi chahiye.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
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.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleRedis fridge pe sticky note hai — poori kitchen (database) kholne ki zarurat nahi.
Redis in-memory key-value store hai. Data RAM mein rehta hai, isliye disk wale SQLite/Postgres se kai guna tez.
MAD2 mein Redis do kaam karta hai:
1) Cache — same venue/show/dashboard JSON baar-baar DB se mat nikaalo.
2) Celery message broker — Flask task queue mein daalta hai, worker uthata hai.
Source of truth database hi hai. Redis band ho to cache miss ho jaata hai aur Celery queue ruk sakti hai. Crash pe cache gayab ho sakta hai — isliye important data sirf Redis mein mat rakho.
Example
import redis
r = redis.Redis(host='localhost', port=6379, db=0)
r.set('venues', json.dumps(data), ex=30)
print(r.get('venues'))Project example: GET /api/venues pehle Redis dekho. Miss pe SQLAlchemy query, phir SET with timeout. Celery worker Redis list se daily reminder uthata hai.
Viva tipCache ke liye db=1, broker ke liye db=0 rakhna smart hai taaki keys mix na hon. Viva mein redis-cli ping → PONG dikhana strong hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCache = pehli baar hisaab karke copy rakh lo, doosri baar copy dikha do.
Baar-baar same expensive kaam (DB query, counting bookings) mat karo. Result Redis jaise store mein timeout ke saath rakh do.
Cache hit: key mil gayi, DB skip. Cache miss: DB se lao, SET karo, return karo.
Tradeoff: speed vs stale data. Admin naya venue add kare aur cache 50s ka ho to user purani list dekh sakta hai — isliye write pe invalidation zaroori hai.
Browser cache, Flask-Caching, Redis alag layers hain. MAD2 examiner Redis + @cache.cached code dekhta hai.
Example
@cache.cached(timeout=50, query_string=True)
@app.route('/api/shows')
def shows():
return jsonify([s.serialize() for s in Show.query.all()])Project example: Admin dashboard counts / venues list cache. Create/update/delete ke baad cache.delete('venues').
Viva tipprint('DB queried') function ke andar laga ke miss/hit demo karo — hit pe print nahi chalega.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleFlask lightweight Python web framework — routes, request/response, templates. MAD1 ka backend yahi hai.
Example
from flask import Flask
app = Flask(__name__)
@app.route('/')
def home():
return 'Hello'Viva tipFlask micro hai: jo chahiye (DB, login, forms) khud jodte ho.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleRedis fridge pe sticky note hai — poori kitchen (database) kholne ki zarurat nahi.
Redis in-memory key-value store hai. Data RAM mein rehta hai, isliye disk wale SQLite/Postgres se kai guna tez.
MAD2 mein Redis do kaam karta hai:
1) Cache — same venue/show/dashboard JSON baar-baar DB se mat nikaalo.
2) Celery message broker — Flask task queue mein daalta hai, worker uthata hai.
Source of truth database hi hai. Redis band ho to cache miss ho jaata hai aur Celery queue ruk sakti hai. Crash pe cache gayab ho sakta hai — isliye important data sirf Redis mein mat rakho.
Example
import redis
r = redis.Redis(host='localhost', port=6379, db=0)
r.set('venues', json.dumps(data), ex=30)
print(r.get('venues'))Project example: GET /api/venues pehle Redis dekho. Miss pe SQLAlchemy query, phir SET with timeout. Celery worker Redis list se daily reminder uthata hai.
Viva tipCache ke liye db=1, broker ke liye db=0 rakhna smart hai taaki keys mix na hon. Viva mein redis-cli ping → PONG dikhana strong hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.
Example
session['user_id'] = user.id
uid = session.get('user_id')
user = User.query.get(uid)Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
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.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleAPI = interface jisse systems baat karein. Web API usually JSON return karti hai.
Example
@app.route('/api/lots')
def api_lots():
return jsonify([{'id': l.id, 'name': l.name} for l in Lot.query.all()])
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.
Example
session['user_id'] = user.id
uid = session.get('user_id')
user = User.query.get(uid)Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleStack bolo: Python, Flask, Jinja2, SQLAlchemy, SQLite, HTML/CSS/Bootstrap, maybe Chart.js.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleJWT teen tukde ki signed chitthi: header.payload.signature. Padhi ja sakti hai, badli nahi ja sakti.
Encoded (Base64) + signed, encrypted nahi (JWE alag). Payload mein password mat daalo — koi jwt.io pe dekh lega.
Login pe server secret se HMAC (HS256). Har API Authorization: Bearer <token>.
Expiry exp. Change payload → signature fail → 401.
Session MAD1 server yaad rakhta. JWT MAD2 client rakhta, server stateless-ish.
Example
eyJhbGciOiJIUzI1NiJ9.{"sub":1,"role":"admin"}.signature
# Authorization: Bearer <token>Project example: POST /login → token LS. fetch interceptor header. @jwt_required APIs.
Viva tipAlgo HS256. Secret env var. jwt.io pe payload dikhao, secret public site pe mat paste.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleRBAC = Role Based Access Control. Roles (admin/user) se permissions milti hain, har user pe alag list nahi.
Example
if current_user.role != 'admin':
flash('Not allowed')
return redirect(url_for('user.home'))
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleVue = UI ka smart assistant. Data badlo, screen khud update. MAD1 Jinja har click pe naya HTML.
Progressive frontend framework. Components, reactivity, directives.
MAD2 SPA: ek index.html, Vue Router pages, Flask sirf JSON.
Fayde: easy, SFC, docs. Vs React: templates HTML-like, course sikhata hai. Vs plain JS: baar-baar DOM mat chhedo.
Example
<!-- HelloWorld.vue -->
<template>
<h1>{{ msg }}</h1>
</template>
<script>
export default { data() { return { msg: 'Hello' } } }
</script>Project example: Navbar.vue + views (Login, Dashboard). data() / setup() reactive. fetch APIs.
Viva tipFayde: easy, SFC, reactivity. Vs React: chhota learning curve. Vs plain JS: UI state auto-update.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleReactive: data change → UI auto. Vue/React. jQuery manual.
Why Vue. Lose reactivity Vue2 new field. Vue3 proxy better.
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: Change data, list updates.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleMemoize = function(args) ka answer copy. Caching broader (HTTP, Redis, page).
Fibonacci textbook. Flask @cache.memoize. cached whole view.
Redis in-memory key-value store hai — fridge pe sticky note, poori kitchen (SQL database) har baar mat kholo.
MAD2 mein Redis do kaam: (1) cache — same venues/shows/dashboard JSON baar-baar DB se nahi (2) Celery broker — Flask task queue mein daalta hai, worker uthata hai.
Flow: cache.get(key) → hit pe return, miss pe SQLAlchemy + SET with timeout. Admin write ke baad cache.delete, warna stale list.
Source of truth database hi hai. Redis crash/band = cache miss (app chalni chahiye) + queue ruk sakti hai. Important bookings sirf Redis mein mat rakho.
Alag: Redis ≠ Memcached (Celery broker nahi). Redis ≠ localStorage (woh browser). redis-cli ping → PONG viva proof.
Project example: get_user(id) memoize. venues list cached.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePrecomputed hash→password tables. Unique salt per user se useless. Slow hash.
Why hashing + salt viva combo.
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: Werkzeug salts included in hash string.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simplev-cloak Vue compile hone tak raw {{ }} hide karta hai. CSS: [v-cloak] { display: none; }
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleMemoize args-aware. cached view/URL. Prefixes differ.
Same Redis. Different key recipe.
Redis in-memory key-value store hai — fridge pe sticky note, poori kitchen (SQL database) har baar mat kholo.
MAD2 mein Redis do kaam: (1) cache — same venues/shows/dashboard JSON baar-baar DB se nahi (2) Celery broker — Flask task queue mein daalta hai, worker uthata hai.
Flow: cache.get(key) → hit pe return, miss pe SQLAlchemy + SET with timeout. Admin write ke baad cache.delete, warna stale list.
Source of truth database hi hai. Redis crash/band = cache miss (app chalni chahiye) + queue ruk sakti hai. Important bookings sirf Redis mein mat rakho.
Alag: Redis ≠ Memcached (Celery broker nahi). Redis ≠ localStorage (woh browser). redis-cli ping → PONG viva proof.
Project example: Two decorators two files explain.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCelery background tasks (email, CSV, reports) async chalaata hai. Redis broker/queue + cache.
User 'Export' click → Celery task queue → Redis message → worker CSV banaata hai → user baad mein download.
Saath isliye: Celery ko broker chahiye, Redis tez in-memory. MAD2 topic zyada, MAD1 mein optional.
Priority: task queues/routing. Caching: Redis mein key-value, DB hits kam.
Pub/Sub: publisher channel pe message, subscribers sunte hain — Redis yeh bhi karta hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleMAD1 mein common: Werkzeug generate_password_hash — default usually pbkdf2:sha256. Apna code dikhao.
Example
from werkzeug.security import generate_password_hash
print(generate_password_hash('secret')) # pbkdf2:sha256:...
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleMAD1 mein common: Werkzeug generate_password_hash — default usually pbkdf2:sha256. Apna code dikhao.
Example
from werkzeug.security import generate_password_hash
print(generate_password_hash('secret')) # pbkdf2:sha256:...
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleAJAX page reload ke bina server se data laata hai. Aaj kal fetch() + Promises.
fetch('/api/users').then(r => r.json()).then(data => { ... })
Promise: future value (pending/fulfilled/rejected). fetch Promise return karta hai.
SPA (Vue): ek HTML, baaki routes JS se, partial update. MAD1 generally full page render (Jinja) — submit pe poora refresh.
async/await Promise ka clean syntax.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCache = pehli baar hisaab karke copy rakh lo, doosri baar copy dikha do.
Baar-baar same expensive kaam (DB query, counting bookings) mat karo. Result Redis jaise store mein timeout ke saath rakh do.
Cache hit: key mil gayi, DB skip. Cache miss: DB se lao, SET karo, return karo.
Tradeoff: speed vs stale data. Admin naya venue add kare aur cache 50s ka ho to user purani list dekh sakta hai — isliye write pe invalidation zaroori hai.
Browser cache, Flask-Caching, Redis alag layers hain. MAD2 examiner Redis + @cache.cached code dekhta hai.
Example
@cache.cached(timeout=50, query_string=True)
@app.route('/api/shows')
def shows():
return jsonify([s.serialize() for s in Show.query.all()])Project example: Admin dashboard counts / venues list cache. Create/update/delete ke baad cache.delete('venues').
Viva tipprint('DB queried') function ke andar laga ke miss/hit demo karo — hit pe print nahi chalega.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleImprove ideas: caching, better validation, tests, pagination, email reminders, accessibility, mobile UI, logging.
Viva tip1-2 concrete features bolo jo time milne pe add karte — vague 'AI' mat.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleORM = Object Relational Mapping. Database tables ko Python classes/objects se map karta hai, raw SQL kam likhni padti hai.
Bina ORM: cursor.execute('SELECT * FROM user WHERE id=?', [5])
ORM se: User.query.get(5) ya db.session.get(User, 5)
Example model
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(120), unique=True)FaydePython mein soch sakte ho, SQL injection se protection (parameterized), relationships easy, DB switch thoda aasan.
Nuksaancomplex queries slow/abstract, seekhne ki layer extra, kabhi raw SQL phir bhi chahiye.
MAD1: SQLAlchemy (Flask-SQLAlchemy). Tables db.create_all() ya migrations se banti hain.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleSQLAlchemy Python ka sabse popular ORM hai. MAD1 mein Flask-SQLAlchemy wrapper use hota hai.
db = SQLAlchemy(app)
class Book(db.Model):
id = db.Column(db.Integer, primary_key=True)
title = db.Column(db.String(80), nullable=False)
Operations: db.session.add(obj), .commit(), .delete(obj), Model.query.all(), .filter_by(), .get_or_404(id).
db.Model ek class hai (function nahi). db object engine + session + metadata hold karta hai.SQLALCHEMY_TRACK_MODIFICATIONS=False extra signals band karta hai, performance warning hatati hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simpleurl_for Flask function/endpoint name se URL generate karta hai, hardcode path nahi.
url_for('home') → '/'
url_for('edit_user', id=5) → '/user/5/edit'
Templates: href="{{ url_for('login') }}"Parameter: endpoint ka naam (function name), plus route variables.
Galat naam: BuildError. Route rename karo to url_for automatic naya path dega — yahi fayda hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simplerequest.form POST body se aata hai, request.args URL query se (?q=flask).
request.form['email'] → key na ho to KeyError (crash)
request.form.get('email') → key na ho to None (safe). Default: request.form.get('q', '')
request.args.get('page', 1) → /search?page=2
Login POST: request.form.get('password')
Search GET: q = request.args.get('q', '')
Hamesha .get() prefer karo viva coding mein — crash nahi hoga.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleJOIN do tables ko related columns se milata hai.
INNER JOIN: dono taraf match. LEFT JOIN: left ki saari rows, right match na ho to NULL.
ORM: User.query.join(Booking).filter(Booking.status=='ok').all() ya user.bookings relationship (lazy join).
Exampleblacklisted company ke drives pe applicants — Application join Drive join Company.
Viva: jo relationship use ki usko 'ORM join' bolo, raw SQL tab jab examiner explicitly SQL maange.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleJOIN do tables ko related columns se milata hai.
INNER JOIN: dono taraf match. LEFT JOIN: left ki saari rows, right match na ho to NULL.
ORM: User.query.join(Booking).filter(Booking.status=='ok').all() ya user.bookings relationship (lazy join).
Exampleblacklisted company ke drives pe applicants — Application join Drive join Company.
Viva: jo relationship use ki usko 'ORM join' bolo, raw SQL tab jab examiner explicitly SQL maange.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleFlask session request-across data store karta hai, generally signed cookie mein.
session['user_id'] = user.id
uid = session.get('user_id')
session.clear() # logout
Type: dictionary-like (SecureCookieSession). SECRET_KEY se sign — tamper detect.
Store kahan: default client cookie. Server-side Redis/filesystem bhi laga sakte ho.
Browser storage: cookies, localStorage, sessionStorage. Session cookie tab-close pe jaa sakti hai.
Remember-me: permanent session ya alag token cookie.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simpleextends poora layout inherit karta hai, include chhota piece insert karta hai.
extends: child page base.html ka structure use karti hai, blocks override karti hai. Ek hi parent.
include: navbar.html / footer.html jahan chaho insert. Kai baar use ho sakta hai.
base.html:
{% block content %}{% endblock %}
home.html:
{% extends 'base.html' %}
{% block content %}<h1>Home</h1>{% endblock %}
{% include 'navbar.html' %} → navbar har page peFayda: header/footer ek jagah, change once — saari pages update. MAD1 mein almost har project use karta hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleSearch box GET form, backend query filter, results template mein.
q = request.args.get('q', '').strip()
results = Doctor.query.filter(Doctor.name.ilike(f'%{q}%')).all() if q else []
return render_template('search.html', results=results, q=q)Jinja: {{ results|length }} matches. Empty: 'No results'.
JS-only filter: saara data pehle load, client filter — chhote lists. Bada data: server search.
Search generally GET (shareable URL). Count: len(results) ya db.func.count.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCSS page ko style karti hai — color, layout, font. HTML structure, CSS look.
h1 { color: navy; } .card { padding: 16px; } #logo { width: 80px; }
Selectors: element (h3), class (.btn), id (#nav), pseudo (:hover).
display:flex — ek line/row mein items, justify-content/align-items se center.
Multiple classes: saari apply, conflict pe specificity/order.
Responsive: media queries / Bootstrap grid. Bina CSS limited (old tables) — practically CSS chahiye.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleSQL Injection user input ko SQL bana ke DB hack. ORM/parameterized queries se bachao.
Galat: f"SELECT * FROM user WHERE email='{email}'" # email = ' OR 1=1 --
Sahi: User.query.filter_by(email=email) # bound parameters
Raw: db.session.execute(text('SELECT * FROM user WHERE id=:id'), {'id': i})
Extra: least privilege DB user, input validate, error messages generic.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCSRF = Cross-Site Request Forgery — logged-in user ke browser se attacker site hidden form submit karwati hai.
FixCSRF token hidden field, server verify. Flask-WTF: {{ form.hidden_tag() }}
SameSite cookies bhi help. GET pe destructive action mat rakho.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Simpleurl_for Flask function/endpoint name se URL generate karta hai, hardcode path nahi.
url_for('home') → '/'
url_for('edit_user', id=5) → '/user/5/edit'
Templates: href="{{ url_for('login') }}"Parameter: endpoint ka naam (function name), plus route variables.
Galat naam: BuildError. Route rename karo to url_for automatic naya path dega — yahi fayda hai.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
SimpleCascade parent ke saath child pe automatic action (generally delete).
Company delete → uski drives bhi delete, warna orphan rows / FK error.
SQLAlchemy: db.relationship('Drive', cascade='all, delete-orphan', backref='company')
SQL: ForeignKey(..., ondelete='CASCADE')
Cascade sirf delete nahi: save-update, merge, refresh-expire, expunge, delete-orphan.
Cascade Update: parent PK change to child FK update (rare, PK mat badlo).
Parent delete jab children active hon: constraint error, ya cascade se children gayab, ya pehle children handle karo — design choice examiner poochta hai.
CSS cascading alag topic hai (styles inherit/override).
No replies yet
Open My solution to be the first to share yours.
Not submitted yet
Definition style question: 1 line simple Hinglish + project example + mini code.
Template'X ka kaam Y hai. Mere project mein Z jagah use hua.'
Example'Session login state rakhta hai. session[user_id]=u.id login pe, logout pe session.clear().'
Agar topic Vue/Celery/Redis ho aur project mein nahi hai to sach bolo, theory example do.
No replies yet
Open My solution to be the first to share yours.
Not submitted yet