AttributeError: ‘Settings’ object has no attribute ‘ROOT_URLCONF’

From django docs: A Django settings file contains all the configuration of your Django installation. When you use Django, you have to tell it which settings you’re using. Do this by using an environment variable, DJANGO_SETTINGS_MODULE. The value of DJANGO_SETTINGS_MODULE should be in Python path syntax, e.g. mysite.settings. Note that the settings module should be … Read more

Custom path of the user.config

It hasn’t been easy to find good info on implementing a custom settings provider so I’m including a complete implementation below (bottom.) The format of the user.config file is retained, as well as the functionality within the .settings designer. I’m certain there are parts that can be cleaned up a bit, so don’t hassle me … Read more

Keep user’s settings after altering assembly/file version

Use the built in Settings classes, you just need to upgrade the settings anytime you change the application version. Here’s how to do it: In the Settings.settings file, create a new setting UpdateSettings type=bool Scope=User Value=True Include the following code before you use any Settings (it can run every time the app runs, as this … Read more

Maintaining a common set of Eclipse preferences

You could of course export/import those settings. The other approach is to enable project specific settings for some settings. We have a very small Git repository with those kind of files: .settings/org.eclipse.jdt.core.prefs (compiler problem settings and formatter rules) .settings/org.eclipse.jdt.ui.pref (cleanup rules, common code templates) The common settings are just copied/merged in each projects .settings directory, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)