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 1987896
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T08:41:34+00:00 2026-05-17T08:41:34+00:00

I learned Django following django book and the document. In the django book exmaple,

  • 0

I learned Django following django book and the document. In the django book exmaple, the project is called mysite and there’s an app called book inside this project. So in this case, the app is called “book”. I’ve no problem with it.

My confusion arises in front of reusable apps. Reusable apps usually reside outside the project. For example, django-registration only has an independent folder “registration”. So what’s its app name? “Registration”, right?

If that’s the case, isn’t there some inconsistency regarding the app naming? In the first case, app name seems to be a folder name (or sub package name) under the project while in the 2nd case, the app name is the top package name.

I know most of you will say “Why are you obssessed with app name? Just make sure the package structure is correct and django can run without problems.” Yes, in most case, app name is nothing but a name. Except in one occasion: specify AUTH_PROFILE_MODULE. As the document explains,

To indicate that this model is the
user profile model for a given site,
fill in the setting
AUTH_PROFILE_MODULE with a string
consisting of the following items,
separated by a dot:

  1. The name of the application (case
    sensitive) in which the user profile
    model is defined (in other words, the
    name which was passed to manage.py
    startapp to create the application).
  2. The name of the model (not case
    sensitive) class.

If I have a model as a user profile in a resuable package, I have to know the app name to correctly specify AUTH_PROFILE_MODULE.

Does django use certain path searching order to decide the app name?

  • 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-17T08:41:35+00:00Added an answer on May 17, 2026 at 8:41 am

    The name of the app is the name of the directory, capitalization and all, unless you go to the extra work to change the name in the appropriate __init__.py file. Django apps are, after all, just Python modules, and all the same rules apply.

    If you ever see an app or module name with different capitalization or other modifications, that doesn’t reflect the actual app or module name. Instead, what you’re seeing is the result of some “pretty-printing” that the Django admin app is known to do in some cases. This is for display only.

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

Sidebar

Related Questions

I'm new to python and django, and when following the Django Book I learned
I learned my app does not behave well on multitasking iOS in case a
In a django app, I have models for a Word (to be learned), a
Recently I learned about Werkzeug's interactive debugger in combination of django_extensions to debug Django
I learned the object-oriented in Java. Now in develop in C#. This means that
I learned an example of usage of sockets. In this example a client sends
I created the models in a Django app using manage.py inspectdb on an existing
I learned C++ at school, but there are several things I don't know, like
I learned how to authenticate users in Django months ago, but I've since upgraded
I learned Android's ArrayAdapter today, and find there is a commom pattern which uses

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.