# How to register a model twice in the Django admin?

> Note: If you want to read the blog [series](https://blog.devjunction.in/series/django-admin-tips-tricks) on Django Admin customization, then [click here](https://blog.devjunction.in/series/django-admin-tips-tricks).

Suppose you have a Book model as given below.

```python
# app_name/models.py

class Book(models.Model):
	...
	title = models.CharField(max_length=150)
	is_active = models.BooleanField(default=True)
```

You might have tried registering a model twice by writing the same code twice, but it gave an error, there is a workaround to register a `model` twice, you just have to create a `proxy` model of the same model that you want to register, in this example we are going to create a proxy model of Book and then re-registered it.

```python
# app_name/admin.py

from django.contrib import admin
from django.db import models
from app_name.models import Book

class BookProxy(Book):
	class Meta:
		proxy = True

@admin.register(Book) # First registration of a Book model in Django admin
class BookAdmin(admin.ModelAdmin):
	verbose_name = "Books"

@admin.register(BookProxy) # Second registration of a Book model in Django admin
class BookProxyAdmin(admin.ModelAdmin):
	verbose_name = "New Books"
```

***Any thoughts? Write it down in the comments.***

> For more such crispy blogs daily, follow Dev.Junction, subscribe to our newsletter and get notified.

## **Social Links**

*   [**LinkedIn**](https://www.linkedin.com/in/mnamegaurav/)**:** [**https://www.linkedin.com/in/mnamegaurav/**](https://www.linkedin.com/in/mnamegaurav/)
    
*   [**YouTube**](https://www.youtube.com/devjunction)**:** [**https://www.youtube.com/devjunction**](https://www.youtube.com/devjunction)
    
*   [**Website**](https://gaurav.devjunction.in/)**:** [**https://gaurav.devjunction.in/**](https://gaurav.devjunction.in/)
    
*   [**GitHub**](https://github.com/mnamegaurav)**:** [**https://github.com/mnamegaurav**](https://github.com/mnamegaurav)
    
*   [**Instagram**](https://www.instagram.com/mnamegaurav/)**:** [**https://www.instagram.com/mnamegaurav/**](https://www.instagram.com/mnamegaurav/)
    
*   [**Twitter**](https://twitter.com/mnamegaurav)**:** [**https://twitter.com/mnamegaurav**](https://twitter.com/mnamegaurav)
