Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

dmr-from-dj-rest-auth

Skill by wemake-services

Guides the migration of a Django auth API from dj-rest-auth to django-modern-rest, with account flows moved to django-allauth headless. Aimed at developers replacing dj-rest-auth login, registration, password, MFA and social views.

  • Score 79
  • 1.6k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install dmr-from-dj-rest-auth

Built from the published package, never by AI.

git clone --depth 1 https://github.com/wemake-services/django-modern-rest /tmp/django-modern-rest && mkdir -p ~/.claude/skills && cp -r /tmp/django-modern-rest/dmr/.agents/skills/dmr-from-dj-rest-auth ~/.claude/skills/dmr-from-dj-rest-auth

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install dmr-from-dj-rest-auth in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant a step-by-step process for migrating a Django project that uses dj-rest-auth to django-modern-rest (DMR). It covers inventorying the dj-rest-auth surface, choosing an auth transport, and wiring django-allauth in headless mode so allauth keeps owning registration, email verification, password reset, social login, MFA and passkeys.

The migration moves one flow at a time, from login and logout through password, registration, social login and MFA. Custom serializers become typed DTOs, user details are rebuilt as DMR controllers, and cookie flags and CSRF behavior are kept or listed as drift. The output is a report in four sections. It is meant for Django developers who must also update every API client, since paths and payloads change.

Written from the project's SKILL.md and checked against it.

What it can do

  • Inventory of dj-rest-authFinds INSTALLED_APPS entries, URL includes, REST_AUTH settings, overridden serializers and the active token strategy.
  • Auth transport selectionHelps pick between allauth session tokens, JWT in headers, JWT in cookies, opaque tokens or Django session cookies.
  • allauth headless wiringCovers INSTALLED_APPS, middleware, ACCOUNT_ settings and the app or browser client choice.
  • Flow-by-flow migrationOrders the migration from login and session through logout, password, registration, social login and MFA.
  • Typed DTO translationReplaces DRF serializers with typed DTOs and removes dj_rest_auth imports from migrated modules.
  • Security preservationKeeps cookie flags, CSRF behavior and credential handling, and requires drift to be listed explicitly.
  • Test updatesAsserts flow outcomes rather than payloads and adds negative-path tests for declared errors.
  • Four-section reportReports preserved behavior, approved drift, security posture changes and unresolved gaps.

What you need

  • An existing Django project that uses dj-rest-auth
  • django-allauth
  • The ability to update every API client
  • The repository's CI checks and linters

Try asking

  • Plan a migration of our dj-rest-auth login and logout to django-modern-rest
  • Inventory our dj-rest-auth REST_AUTH settings and custom serializers
  • Map our JWT cookie auth to a DMR auth class with the same cookie flags

Good to know

  • Endpoint paths and payloads change, so every API client must be updated.
  • A compatibility shim for dj-rest-auth paths is not built silently; it is a long-lived maintenance burden.
  • simplejwt refresh-token rotation and blacklisting are not automatic in dmr.
  • Social login callback URLs are set by providers and must be updated if paths change.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: dmr/.agents/skills/dmr-from-dj-rest-auth/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to dmr-from-dj-rest-auth

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

dmr-from-dj-rest-auth: common questions

Does this migration keep the same API endpoint paths?

No. allauth headless serves its own /_allauth/{client}/v1/ routes, and strict path parity is usually not achievable.

Who handles registration, password reset and MFA after migrating?

django-allauth keeps owning those account flows through its headless mode, while django-modern-rest owns the project's own API surface.

Does the skill keep cookie security flags?

Yes, it says to keep flags such as httponly, secure, samesite and the refresh cookie path, and not downgrade them.

How do I install dmr-from-dj-rest-auth?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is dmr-from-dj-rest-auth free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is dmr-from-dj-rest-auth safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to dmr-from-dj-rest-auth?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

dmr-from-dj-rest-auth Install

Add to stack

Loading.