that right, I've provided a very vague question I have to modify an existing models.py file. What I basically want to do is to add a new Text Area in the django admin page so I can add a new subpage.
Here is what I do step by step 1) I open models.py and insert the following code: // start of code *class City( models.Model ): .... class Translation (multilingual.Translation): ... climate_text = models.TextField ( 'Climate text', blank = True, null = False, help_text = 'text on the subpage "clima"' ) map_text = models.TextField( 'Map text', blank = True, null = False, help_text = 'text on the subpage "map"') ....* // end of code The code in bold and italics is the text area I want to add to my models.py. Then, I update my database by executing the following code: python manage.py sql *my-application* However, when I refresh my website, I get an *Error 505. *This error appears only in the pages that use the models.py file I've modified, so the rest of the website works fine. So what am I doing wrong? Thanks On Thu, Mar 31, 2011 at 11:58 AM, Daniel Roseman <dan...@roseman.org.uk>wrote: > On Thursday, March 31, 2011 3:35:15 PM UTC+1, jay K. wrote: >> >> hello >> >> how can i add a new text field in the django admin area >> >> i want to create a new subpage >> >> thanks >> >> >> > Before asking a question, have a think about what you actually want to ask. > Then think about whether you're providing all the information needed for > anyone to answer the question. Now look at what you've written. Do you > seriously, honestly think that anyone will have the remotest idea what > you're asking, or be able to even start answering you? > > Now try again. > -- > DR. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.