Skip to content
#

settings

Here are 786 public repositories matching this topic...

sant527
sant527 commented Mar 31, 2019

In django development i am planning to install django-extensions app

I have to add it to the INSTALLED_APPS.

INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
   # third party apps
    'django_extensions',
]

Now how

dynaconf
Zoooook
Zoooook commented Jan 4, 2020

Summary

From the keybindings settings page, at the top it says “You can override these keybindings by copying and pasting them into your keymap file”, where the last 3 words are a link to a keymap file. When I copy a keybinding and click the link to the keymap file, and then go back to copy another keybinding, and click the link again, it opens a new instance of the same file in a new tab. I

eeintech
eeintech commented Jan 31, 2020

Hello,

I'm trying to call a FilePathField model into the FilePreference (I also tried BasePreference) class without success, here is my code in the dynamic_preferences_registry.py:

from django.db.models import FilePathField

@global_preferences_registry.register
class Search_Results_Directory(FilePreference):
	name = 'Search_Results_Directory'
	verbose_name = 'Search Results Direct

Improve this page

Add a description, image, and links to the settings topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the settings topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.