Tag Archives: DRF

Tip: NuxtJS + Django DRF – Python Dev Feed

Tip: NuxtJS + Django DRF Piccolo tip del giorno come configurare nuxtjs con l’autenticazione in django drf Inserire nel file di configurazione:nuxt.config.js auth: { strategies: { cookie: { endpoints: { login: { url: ‘auth/login’, method: ‘post’, propertyName: ‘user’, withCredentials: true }, logout: { url: ‘auth/logout’, method: ‘post’ }, user: { url: ‘auth/user’, method: ‘get’,propertyName: false},…

Read More