{"id":27163,"library":"django-nano","title":"nano","description":"Django nano provides loosely coupled mini-apps that do less. Current version 1.1.0, supports Python >=3.9. Newer versions may be available; check PyPI for latest release cadence.","status":"active","version":"1.1.0","language":"python","source_language":"en","source_url":"https://github.com/jazzband/django-nano","tags":["django","micro-framework","mini-apps","loosely-coupled"],"install":[{"cmd":"pip install django-nano","lang":"bash","label":"install from PyPI"}],"dependencies":[{"reason":"Required for Django integration","package":"Django","optional":false}],"imports":[{"note":"Common mistake: using django_nano instead of nano","wrong":"from django_nano import NanoAppConfig","symbol":"NanoAppConfig","correct":"from nano import NanoAppConfig"},{"note":"No common wrong import known","symbol":"NanoView","correct":"from nano.views import NanoView"}],"quickstart":{"code":"from nano import NanoAppConfig\n\n# Example: register a nano app in INSTALLED_APPS\n# INSTALLED_APPS = ['nano.apps.NanoAppConfig']\nprint('Nano ready')","lang":"python","description":"Import NanoAppConfig and add it to Django's INSTALLED_APPS."},"warnings":[{"fix":"Change 'from django_nano import ...' to 'from nano import ...'","message":"The old import path 'django_nano' is deprecated in version 1.1.0, use 'nano' instead.","severity":"deprecated","affected_versions":">=1.1.0"},{"fix":"Ensure 'nano.apps.NanoAppConfig' is in INSTALLED_APPS.","message":"Nano apps require Django's AppConfig to be properly configured; missing app config leads to runtime errors.","severity":"gotcha","affected_versions":"all"},{"fix":"Run 'python manage.py makemigrations' and 'python manage.py migrate' after adding nano apps.","message":"Nano does not include migrations; you must run makemigrations/manage.py migrate if your nano apps define models.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'pip install django-nano' and import from 'nano' (not 'django_nano').","cause":"Using the deprecated package name 'django_nano' instead of 'nano'.","error":"ModuleNotFoundError: No module named 'django_nano'"},{"fix":"Remove duplicate entries from INSTALLED_APPS; keep only one reference to nano.","cause":"Multiple apps with label 'nano' in INSTALLED_APPS.","error":"django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: nano"},{"fix":"Update django-nano to latest version: 'pip install --upgrade django-nano'.","cause":"Outdated or broken installation; missing __init__.py or version conflict.","error":"ImportError: cannot import name 'NanoAppConfig' from 'nano'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}