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

The Archive Base Latest Questions

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

I have a project w/ multiple apps. I am attempting to use the dumpdata

  • 0

I have a project w/ multiple apps. I am attempting to use the dumpdata command to create a fixture for each app. Calling dumpdata on a given app seems to work well.

This prints the data to the console:

python manage.py dumpdata myapp

However, when I attempt to create a json file containing the dumped data:

python manage.py dumpdata apps/myapp/fixtures/initial_data.json

This error is thrown:

Error: Unknown application: apps/myapp/fixtures/initial_data

The fixtures dir already exists and I’ve tried multiple variations of the path to the json file. There is another coder on the project and we are working with the same source code. He does not appear to be running into the same issue though.

We are using Django 1.2.

  • 1 1 Answer
  • 2 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-16T01:20:43+00:00Added an answer on May 16, 2026 at 1:20 am

    You give the correct syntax in your first snippet. The argument after dumpdata is an application, not a file.

    If you want to save that output to a file, you use standard redirection:

    python manage.py dumpdata myapp > apps/myapp/fixtures/initial_data.json
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project where I have multiple instances of an app running, each
I've just installed PyCharm, and have opened an existing project with multiple apps. When
I have a project with multiple modules, each in its own directory. Each module
I have four Silverlight 4 apps, each in their own Visual Studio project, for
In Xcode 4 I want to use the workspace to have multiple project types
I have been tasked with a project which will entail multiple apps, a master
I tried to create multiple iPhone apps using same XCode project and that worked
In my build configuration I have multiple project queues: Queue1, Queue2, ... Queue(N) I
I have an SBT project with multiple subprojects. One of the subprojects have tests
Zend Project with multiple modules and every modules have its own routes.ini defined inside

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.