Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6539479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:51:50+00:00 2026-05-25T10:51:50+00:00

Whenever I run the syncdb command, I’m getting a lot of auth tables created

  • 0

Whenever I run the syncdb command, I’m getting a lot of auth tables created but I’m not including the admin or auth packages. Here are the tables it is creating on its own:

Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message

I don’t need these tables. In my settings.py file, I have commented out the AuthenticationMiddleware, MessageMiddleware and all apps except for django.contrib.sessions and my own personal apps. Is there a setting somewhere that I’m missing so that these tables aren’t created?

Here are my INSTALLED_APPS

INSTALLED_APPS = (
'deanproxy.globaltags',
'deanproxy.blog',
'deanproxy.auth',
'deanproxy.twitter',
#    'django.contrib.auth',
#    'django.contrib.contenttypes',
'django.contrib.sessions',
#    'django.contrib.sites', 
#    'django.contrib.messages',
#'django.contrib.staticfiles',
# Uncomment the next line to enable the admin:
# 'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
)

EDIT: I Just realized that if I comment out my own app ‘deanproxy.auth’, that all of these tables are not created. However, my auth app isn’t including any of the django auth stuff and it’s a very, very simple auth system (just e-mail and password). It appears Django may be getting confused by the name of it…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:51:51+00:00Added an answer on May 25, 2026 at 10:51 am

    I found the cause. I had an app called ‘auth’ which was a very simple auth system and nowhere near as involved as the django auth app. It appears that django was including all of these tables whenever I added ‘deanproxy.auth’ to my INSTALLED_APPS. Whenever I renamed this app to something else, these tables were not being included anymore. I’m going to try to track down why it does this… however, if anyone else has this issue, just name your app to something other than auth. Even though you’re including it from your app, it still thinks it’s the django auth system…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Whenever you run the command django-admin.py startproject , django automatically loads up a default
I'm not sure why, but whenever I run rake assets:precompile , application.js doesn't get
Whenever I run my program, I get: NullReferenceException was unhandled, Object Reference not set
Whenever i try to run sqlmetal, i get this: 'sqlmetal' is not recognized as
whenever I run the bundle install command, bundler creates a directory in my projects
I keep getting this whenever I run the below code: Fatal error: Call to
G'day folks I keep getting the error above whenever I run this and buggered
Whenever I run my script a temp file gets created in my local directory:
Whenever I run a rake command (i.e. rake routes ) I get this error:
Whenever I run Automated Tests on my site, all the tables get cleaned to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.