forumNew topic

Building a site with Python — how should division of labor work with a developer partner?

AAslı K***New member
Job title
System support specialist
Sector
Consulting
Organization type
family business
Joined
Aug 2026
Message
193
#1

a college friend and I are building a data-driven web platform for the real estate and housing market. like we pooled a total of 180.000 TL of our personal savings for server costs domains data licenses and company incorporation fees then we're both experienced with web development with Python; however, as we bring the project to life we find ourselves constantly stepping on each other's toes when it comes to task delegation code review and delivery responsibilities.

right now we have no clear boundaries on who designs the database schema who owns the web framework layer, or who builds the web scraping and data cleansing pipelines. we're both pushing commits straight to the same repository; whenever an architectural disagreement pops up work grinds to a halt for days. worse yet there's no clarity on how the process will continue if one of us loses motivation and drops the ball, or who will own the codebase if we end up parting ways.

when two developer partners are building a single Python wbsite together what is the healthiest way to structure module ownership code licensing, and acceptance criteria?

HHavva K***MemberCommunity member
Joined
Jul 2024
Message
111
Most Helpful#2

Short answer: For two developers to collaborate in the same repository without friction, the division of labor should be split by independent end-to-end modules rather than technical layers, and pushing code directly to the main branch must be strictly forbidden. Code ownership should reside with the incorporated company entity rather than individuals, and delivery criteria must be tied to passing automated tests and documentation requirements.

To break your current deadlock, put these operational rules in place immediately: 1) Divide areas of responsibility vertically. For instance, one partner should take full ownership of "data collection, data processing pipelines, and background workers," while the other takes sole charge of "web services, database models, auth, and front-end integration." Instead of writing code in each other's modules, you should work strictly through contract interfaces and data schemas. 2) Protect the main branch in your repository. No code should be merged into the main codebase without being reviewed by the other partner. Require passing unit tests as a hard merge condition; that way, debates shift away from personal preferences and depend on test outcomes.

On the legal and ownership side, insert an IP assignment clause into your founders' agreement. Every line of code written must belong to the corporate entity, not the individual who wrote it. If a partner leaves the project, a vesting schedule must kick in; the departing founder should only retain equity corresponding to their active tenure, with zero right to pull back their code from the company or freeze the platform.

BBarış Y***Expert
Job title
Backend developer
Organization type
boutique agency
Joined
Jun 2023
Message
296
#3

Committing directly to the main branch is professional suicide. Set up branch protection rules immediately. No merges without at least one approval. Also nail down inter-module communication using strict dataclasses or schema validators; as long as the underlying data structure doesn't break, whatever anyone writes internally shouldn't concern the other.

DDamla Y***ExpertCommunity member
Joined
Feb 2025
Message
57
#4

Back in 2022, another backend dev and I co-founded a similar data-driven site. Because we never signed an IP assignment agreement, my partner walked away when our 180.000 TL budget ran out in month 4 and locked down the repo. I had to scrap the entire project and start over from zero. Get the legal side sorted before touching any code.

FFerhat A***Member
Job title
Board member
Sector
Advertising and promotion
Organization type
20-person company
Joined
Jun 2024
Message
155
#5

Do weekly planning. Score the modules to be built on Monday morning, break them down into task cards and assign a single owner to each card. Don't consider any card done until there are passing tests and a live deployment output by Friday evening. Also, clearly designate the decision-maker on a module-by-module basis.

PPolat Ç***Member
Job title
Human Resources Manager
Sector
Media and publishing
Organization type
workshop
Joined
Oct 2022
Message
2

Doki · Vulnerability scanning · 2024

#6

Having two technical partners with the same level of Python experience is usually a disadvantage, not an advantage. You end up constantly arguing over "this architecture is more elegant, that framework is faster." Unless one of you completely takes on technical leadership and product ownership, you won't even get the first release live just because you're fixated on being equal partners.

TTaner Y***Expert
Job title
Regional Manager
Sector
Electrical-electronics
Organization type
cooperative
Joined
Sep 2025
Message
3

Doki · Vulnerability scanning · 2025

#7

cleanest way when coding with a partner is drawing clear lines between roles. just say ill write the service you collect the data.. then tbh the more u mess with each others code the faster both the friendship and the project fall apart, speaking from experience.

AAslı Y***Member
Job title
QA Tester
Sector
Advertising and promotion
Organization type
two-branch business
Joined
Jan 2024
Message
18
#8

Prepare a definition-of-done document to establish concrete delivery criteria: 1) Have unit tests been written for the module? 2) Has it passed code formatting and static analysis checks without errors? 3) Is the documentation ready for the service endpoints? 4) Has it been deployed to the staging server without issues? No module should be considered delivered unless these conditions are met.

edit: fixed a few typos.

BBora A***MemberCommunity member
Joined
Sep 2024
Message
177
#9

does the vesting agreement need to be notarized, or would a simple written protocol signed between us hold up in court? also, if the company hasnt been officially incorporated yet, how do we protect code rights between individuals?

BBurcu N***Member
Job title
Board member
Sector
Cosmetics
Organization type
20-person company
Joined
Nov 2025
Message
2
#10

I didn't know that.

TTuğçe K***Member
Job title
Warehouse Manager
Sector
Media and publishing
Organization type
40-person manufacturing company
Joined
Jan 2022
Message
5

Doki · Log management setup · 2024

#11

Let me clarify the technical side. A partnership without a payment schedule locks up at the first split.

I'm also curious if anyone does it differently.

OOnur Ç***MemberCommunity member
Joined
Dec 2024
Message
222
#12

I completely agree. When you try to change everything at once, nothing settles.

I'm also curious if anyone does it differently.

ÜÜmit Ö***Member
Job title
Sales Manager
Sector
Printing
Organization type
medium-sized business
Joined
Nov 2024
Message
108
#13

I'll try it. Just because everyone does it doesn't mean it's right.

Just leaving this note, it might be useful.

YYavuz B***Member
Job title
Human Resources Specialist
Sector
Leather
Organization type
120-person company
Joined
Mar 2024
Message
5
#14

Let me share my experience. The only thing separating friendship from partnership is a written contract.

Correct me if I'm wrong.

NNuri Y***Member
Job title
Co-founder
Sector
Jewelry
Organization type
a company within a holding
Joined
May 2023
Message
2

Doki · Phishing awareness training · 2024

#15

If I understood correctly, you're saying: Don't hesitate to ask; those who don't ask always pay more.

People defend habits, not processes. I mean resistance comes from there. Of course, it varies if your situation is different.

ZZerrin K***ExpertCommunity member
Joined
Sep 2024
Message
139
#16

I agree.

KKemal G***MemberCommunity member
Joined
Nov 2025
Message
5
#17

i partly agree partly disagree. when we deecide without measuring we always end up in the same place.

everyone rushing into web development with python gets stuck at the same point.

ŞŞerife Y***Member
Job title
Courier coordinator
Sector
Food wholesale
Organization type
120-person company
Joined
Apr 2023
Message
41
#18

Let me share what happened to me; it might be useful. Do a small three-month project before talking stocks, so you see each other.

Good luck with that.

PPınar A***MemberCommunity member
Joined
Apr 2024
Message
1
#19

My question might sound amateurish sorry about that. Start with a small trial; don't commit to everything at once.

Hope this helps.

SSultan T***Member
Job title
Social media manager
Sector
Insurance
Organization type
8-person team
Joined
Nov 2024
Message
19
#20

Thanks, this was very helpful. Everything goes well for the first three months; problems arise in the fourth.

If I were you, I'd go this route.

Reply