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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:11:20+00:00 2026-05-16T00:11:20+00:00

Why do I get this error when I run manage.py validate ?: Traceback (most

  • 0

Why do I get this error when I run manage.py validate?:

Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "C:\python26\lib\site-packages\django\core\management\__init__.py", line
438, in execute_manager
    utility.execute()
  File "C:\python26\lib\site-packages\django\core\management\__init__.py", line
379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\python26\lib\site-packages\django\core\management\base.py", line 191,
 in run_from_argv
    self.execute(*args, **options.__dict__)
  File "C:\python26\lib\site-packages\django\core\management\base.py", line 218,
 in execute
    output = self.handle(*args, **options)
  File "C:\python26\lib\site-packages\django\core\management\base.py", line 347,
 in handle
    return self.handle_noargs(**options)
  File "C:\python26\lib\site-packages\django\core\management\commands\validate.p
y", line 9, in handle_noargs
    self.validate(display_num_errors=True)
  File "C:\python26\lib\site-packages\django\core\management\base.py", line 245,
 in validate
    num_errors = get_validation_errors(s, app)
  File "C:\python26\lib\site-packages\django\core\management\validation.py", lin
e 28, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "C:\python26\lib\site-packages\django\db\models\loading.py", line 146, in
 get_app_errors
    self._populate()
  File "C:\python26\lib\site-packages\django\db\models\loading.py", line 61, in
_populate
    self.load_app(app_name, True)
  File "C:\python26\lib\site-packages\django\db\models\loading.py", line 78, in
load_app
    models = import_module('.models', app_name)
  File "C:\python26\lib\site-packages\django\utils\importlib.py", line 35, in im
port_module
    __import__(name)
  File "C:\projects\mysite\..\mysite\books\models.py", line 5, in <module>
    class Publisher(models.Model):
  File "C:\projects\mysite\..\mysite\books\models.py", line 6, in Publisher
    name = models.CharField(maxlength=30)
  File "C:\python26\lib\site-packages\django\db\models\fields\__init__.py", line
 542, in __init__
    super(CharField, self).__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'maxlength'
  • 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-16T00:11:21+00:00Added an answer on May 16, 2026 at 12:11 am

    The problem is that you are using a newer version of Django now. Since 1.0 (or actually, somewhere in 0.97) Django switched to max_length instead of maxlength. So either upgrade your code or install Django 0.96 for it to work again.

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

Sidebar

Related Questions

When I run python manage.py dbshell command I get this error: Error: You appear
I get this error when I run the code below. I have normally used
I get this error when I run a django app ( dpaste ) Template
I get this error when I run the application Incorrect syntax near 12 ,
I get this error when I run gradle test : Caused by: org.gradle.api.GradleException: Could
I get this error FB is not defined when i try to run this
I have this code and I couldn't run it because i get this error:
If I run this code on IE8 or lower, I get this error: Object
If I run the function below before defining it, I will get this error...
I get this build error when I build my iPhone project to run on

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.