DEV Community

Spacekoki
Spacekoki

Posted on

1 2

How to imprt django-taggit tag in django-import-export

Please help me!

I can't import Django-taggit tags using Django-import-export.

This error is when the value is entered.

Line number: 1 - invalid literal for int() with base 10: 'def'

Also, this error is when the value is blank.

Line number: 2 - Cannot add <QuerySet []> (<class 'django.db.models.query.QuerySet'>). Expected <class 'django.db.models.base.ModelBase'> or

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more