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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:44:36+00:00 2026-06-18T01:44:36+00:00

I’ve got a very strange problem. I deployed my project from my development PC

  • 0

I’ve got a very strange problem. I deployed my project from my development PC (manage.py runserver) to my webserver (apache mod_wsgi), created my database tables and logged in to django-admin.

I can see my models which are registered to the admin and I can add them. Two of my models do not have all the formfields they should have. A selectbox for a FK-field is missing. The label for this field is available but the field itself is missing.

A JS-error is not the problem because the field is also missing when JS is not active. So I think that the field isn’t rendered yet.

There are no error-messages or anything else that could help me to fix the problem.

Anyone ever had the same problem or some Ideas about how to fix this problem? Here is my code:

class Heft(models.Model):
  doi = models.CharField(max_length=255)
  pdf = models.FileField(upload_to=u"pdf")
  cover = models.FileField(upload_to=u"cover")
  xhtml = models.FileField(upload_to=u"xhtml", blank=True, null=True,)
  heftnr = models.CharField(max_length=255, verbose_name=u"Nr.")
  offset = models.IntegerField(default=0)
  ivzende = models.IntegerField()
  ivzstart = models.IntegerField()
  jahrgang = models.CharField(max_length=255, verbose_name=u"Jahrgang")
  pubdatum = models.IntegerField()
  copyname = models.CharField(max_length=255, verbose_name=u"Copyright Name")
  copyyear = models.CharField(max_length=255, verbose_name=u"Copyright Jahr")
  startseite = models.IntegerField()
  erschdatum = models.DateField()
  zeitschrift = models.ForeignKey(u"Zeitschrift", verbose_name="Zeitschrift") # !!!! THIS FIELD IS MISSING AT THE FORM !!!!
  sachgebiete = models.ManyToManyField(u"Sachgebiet")

class HeftAdmin(admin.ModelAdmin):
  inlines = [AbstractHeftInlineAdmin, ]
  actions = None
  save_on_top = True
  list_display = (u"getFullName", u"heftnr",u"jahrgang", u"hasPDF",u"artikelCnt",
                  u"bearbeiten", u"showArtikel", u"splitPDF", u"exportHeft",
                  u"getExportPackage",)
  search_fields = (u"zeitschrift__zsname", u"heftnr", u"jahrgang",)
  filter_horizontal = (u"sachgebiete", )
  list_display_links = (u"getFullName", u"bearbeiten", )

  fieldsets = [
    (u"Allgemeine Informationen", {u"fields": [u"zeitschrift", u"heftnr",
                                               u"jahrgang", u"erschdatum",
                                               u"pubdatum", u"copyname",
                                               u"copyyear", u"sachgebiete",
                                               u"doi", u"cover", u"pdf",
                                               u"xhtml" ]}),
    (u"Herstellungsangaben", {u"fields": [u"ivzstart", u"ivzende",
                                          u"startseite", u"offset", ]}),
  ]

kind regards
Martin

  • 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-06-18T01:44:38+00:00Added an answer on June 18, 2026 at 1:44 am

    Now I have the solution for this problem (but no explanation).

    I killed all the database tables belonging to my project and recreated them … magic … everything works fine.

    Maybe before some constraints were missing or something like this?

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

Sidebar

Related Questions

I am currently running into a problem where an element is coming back from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I've tracked down a weird MySQL problem to the two different ways I was
I have a text area in my form which accepts all possible characters from
i got an object with contents of html markup in it, for example: string
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
Does anyone know how can I replace this 2 symbol below from the string

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.