Projects › Intermediate
Notes App with Django
A multi-user notes app with tags, search, pinning and sharing — learn Django the way companies use it.
Level: Intermediate · Time: 1 week · Tech stack: Django, PostgreSQL, HTML/CSS
Features to build
- Sign up / login with Django auth
- Create, edit, delete Markdown notes
- Tags, pinning and search
- Share a read-only link
- Admin panel for free
What you will learn
- Django models, views, templates and forms
- Authentication and permissions
- QuerySets and search
- Deploying Django
Step-by-step guide
1. Project
django-admin startproject notesite . and python manage.py startapp notes.
2. Models
class Note(models.Model):
owner = models.ForeignKey(User, on_delete=models.CASCADE, related_name='notes')
title = models.CharField(max_length=120)
body = models.TextField(blank=True)
tags = models.ManyToManyField('Tag', blank=True)
pinned = models.BooleanField(default=False)
share_id = models.UUIDField(default=uuid.uuid4, unique=True)
updated = models.DateTimeField(auto_now=True)
class Meta: ordering = ['-pinned', '-updated']
3. Only your notes
Every view filters by owner: Note.objects.filter(owner=request.user), and get_object_or_404(Note, pk=pk, owner=request.user).
4. Search
notes.filter(Q(title__icontains=q) | Q(body__icontains=q)) (or PostgreSQL full-text search).
5. Forms and CSRF
Use a ModelForm and {% csrf_token %}. Render Markdown with the markdown package and bleach it.
6. Sharing
/s/<uuid>/ shows a read-only page — no login needed, nothing else exposed.
7. Deploy
Gunicorn + WhiteNoise on Render/Railway with PostgreSQL; DEBUG=False and ALLOWED_HOSTS set.
Level it up
- A REST API with Django REST Framework + React frontend
- Collaborative editing
- Reminders by email
On your resume
- Built a multi-user notes app in Django with authentication, per-user permissions, tags, full-text search and shareable read-only links; deployed with PostgreSQL.