<a href="{0}?customer={1}"> on the basis of admin user in django code example Example: django admin create superuser $ python manage.py createsuperuser