Re: Django admin page redirecting to some another page

2020-09-25 Thread coolguy
Please check if you have defined/changed LOGIN_URL settings in settings.py On Friday, September 25, 2020 at 2:51:23 PM UTC-4 deepra...@gmail.com wrote: > I go for super user login then it redirects to template which i made not > going to django admin login and django admin page, >

Re: Django admin page redirecting to some another page

2020-09-25 Thread coolguy
Did you change LOGIN_REDIRECT_URL settings in settings.py? On Friday, September 25, 2020 at 2:51:23 PM UTC-4 deepra...@gmail.com wrote: > I go for super user login then it redirects to template which i made not > going to django admin login and django admin page, > > please su

Django admin page redirecting to some another page

2020-09-25 Thread Deepraj Devikar
I go for super user login then it redirects to template which i made not going to django admin login and django admin page, please suggest me any solution -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: Form is not getting displayed on django admin page

2020-05-03 Thread Jorge Gimeno
On Sun, May 3, 2020 at 7:34 AM Vikram Jaiswal < vikramkumarjaiswal221...@gmail.com> wrote: > above is the image of the error > admin.py > from django.contrib import admin > from travello.models import Destination > > > > class ContactAdmin(admin.ModelAdmin): > Clist_display = [ 'name', 'department

Form is not getting displayed on django admin page

2020-05-03 Thread Vikram Jaiswal
above is the image of the error admin.py from django.contrib import admin from travello.models import Destination class ContactAdmin(admin.ModelAdmin): Clist_display = [ 'name', 'department', 'lalal'] # Register your models here. admin.site.register(Destination,ContactAdmin) models.py from dja

Getting ORA-00918: column ambiguously defined error which try to open django admin page after upgrading to django 3.03 from 2.0

2020-02-15 Thread Fateh Budwal
Getting django.db.utils.DatabaseError: ORA-00918: column ambiguously defined error when I try to open Django admin page. Here is the error: raise dj_exc_value.with_traceback(traceback) from exc_value File "/venomscribe/lib/python3.6/site-packages/django/db/backends/utils.py", l

django admin page shows not found in production

2019-07-16 Thread Camillus Chinaedu Teteh
Hello guys, I am a newbie in python, I was given a task to make the django admin page for an askbot app, the askbot app has already been in production for awhile, when I visit https://somecompany.askbot.com/admin, I get a page not found error. Can you please point out what could be wrong? This

Re: HEELP!! CANT LOAD THE CSS OF MY DJANGO ADMIN PAGE WHY??

2018-08-23 Thread scloutier
If you are in development mode (as I assume you are since you run `python manage.py runserver`), you need to set `DEBUG=True` in your settings.py file. Otherwise Django assumes that another program is serving the static files (nginx, apache, etc) and does not need to serve them itself. -- You

Re: HEELP!! CANT LOAD THE CSS OF MY DJANGO ADMIN PAGE WHY??

2018-08-23 Thread Tim Vogt (Tim Vogt)
try $python manage.py runserver > Op 23 aug. 2018, om 21:31 heeft Dario Coronel het > volgende geschreven: > > I follow step by step the instructions of the documentatión of django > especificly the tutorial part two when i create my superuser its all ok The > problem is whe i put $python ru

HEELP!! CANT LOAD THE CSS OF MY DJANGO ADMIN PAGE WHY??

2018-08-23 Thread Dario Coronel
I follow step by step the instructions of the documentatión of django especificly the tutorial part two when i create my superuser its all ok The problem is whe i put $python runserver he work but not find the statics files and not load the styles just the view without nothing what i have done w

Re: Timeout when saving model in django admin page

2017-02-21 Thread Melvyn Sopacua
On Tuesday 21 February 2017 13:11:19 John, Steffen wrote: > Using celery, is it possible to prevent the user from doing other > things in the admin tool until the celery task is done? Sorta kinda. But the django admin can facilitate part of it. Look into the ModelAdmin.has_FOO_permission() metho

Re: Timeout when saving model in django admin page

2017-02-21 Thread John, Steffen
Hi, Thanks for the hint. I was already thinking about using celery, but if the process runs in background it may get some problems with other actions the user executes parallely. Using celery, is it possible to prevent the user from doing other things in the admin tool until the celery task is

Re: Timeout when saving model in django admin page

2017-02-21 Thread Jani Tiainen
Hi, You probably want to switch to asynchronous handling of your job. Celery is one excellent tool to handle background jobs. On 21.02.2017 11:50, John, Steffen wrote: Hi! When saving the model over the admin page of Django, a lot of processing is done (in pre_save function) which takes sev

Timeout when saving model in django admin page

2017-02-21 Thread John, Steffen
Hi! When saving the model over the admin page of Django, a lot of processing is done (in pre_save function) which takes several minutes. After a while I get a timeout, although the process is still running in the background. How can I avoid to get this timeout? Another nice thing would be to s

Re: Django (Admin Page)

2016-11-07 Thread ludovic coues
Hello, If you are talking about your model, you need to create a ModelAdmin class [1] for your models. There is an exemple of how to do so in the django tutorial [2]. [1] https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#modeladmin-objects [2] https://docs.djangoproject.com/en/1.10/intro

Django (Admin Page)

2016-11-07 Thread Rashmi Pandey
How can i display data base table on admin page... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this gro

How to create a custom form in Django Admin page, that doesn't relate to a model

2016-09-20 Thread Hanh Kieu
I am building a dictionary translation app that translates from one language to another, and I would like for the admin to be able to enter in two words, and their associated languages, these two words would, then get stored as a translation. Currently there is no way of doing this (Inline does

Re: Django admin page display unnormal

2015-04-13 Thread aRkadeFR
Your static files are not served properly. Please, run the collectstatic command and see if the admin static files are copied. Check in your browser that the files media are served then. aRkadeFR On 04/13/2015 05:04 AM, zli wrote: It is my admin add user page

Django admin page display unnormal

2015-04-13 Thread zli
It is my admin add user page It is static_root setting -- You received this message

Re: Django Admin Page

2015-03-06 Thread Collin Anderson
Hi, That's odd. Maybe try updating django? It looks like you're using 1.8 pre-alpha from 3 months ago. Collin On Friday, February 20, 2015 at 1:40:03 AM UTC-5, Tim Co wrote: > > Hello, > > We are trying to run a local development server for our django python app. > We are able to connect to ou

Re: Django Admin Page

2015-03-06 Thread ebuild
Check django1.8 compatibility with python2.7 On Friday, February 20, 2015 at 7:40:03 AM UTC+1, Tim Co wrote: > > Hello, > > We are trying to run a local development server for our django python app. > We are able to connect to our localhost index and get the "It Worked!" > Dango page. However wh

Django Admin Page

2015-02-20 Thread Tim Co
Hello, We are trying to run a local development server for our django python app. We are able to connect to our localhost index and get the "It Worked!" Dango page. However when we try to connect to 127.0.0.1/admin/ we are getting an error that the server dropped the connection. Here is the log

Re: Django Admin Page not working

2014-02-12 Thread Puthi SUM
I have tried to do that already but it still no use. I am in Development mode, and according to Django's documentation, it should work without I have to do anything. Also thank for your answer. On Wednesday, February 12, 2014 4:19:50 PM UTC+7, Puthi SUM wrote: > > Hi Developers, > >I am new

Re: Django Admin Page not working

2014-02-12 Thread Roberto López López
_Probably_ you will have to execute: $ python manage.py collectstatic On 12. feb. 2014 10:19, Puthi SUM wrote: Hi Developers, I am new to Django App Development. My part-1 training is completed successfully. But when i go for part-2, my Admin page is not working properly. i.e., Admin pa

my django admin page don't have the css when viewed over the apache server

2013-08-24 Thread Robin Lery
I just finished to serve my pages on the internet through apache. I can see my webpage nicely, but when I try the admin, the django admin page don't have the css with it, just the html page. But my webpage's css are displaying nicely. What am I missing? Please guide me. Thank you! my

Re: Need help on customizing my django admin page to my own new look

2013-07-17 Thread Rurangwa Moses
Thx a bunch guys it worked -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to djang

Re: Need help on customizing my django admin page to my own new look

2013-07-17 Thread Mário Neto
A path to follow: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-admin-templates 2013/7/17 Rurangwa Moses > Hey guys, > I need some help on how to customize a django admin page to whole new > different look rather than the default django admin page > > Than

Re: Need help on customizing my django admin page to my own new look

2013-07-17 Thread Rafael E. Ferrero
in site-packages ) hope to help you. See ya! 2013/7/17 Rurangwa Moses > Hey guys, > I need some help on how to customize a django admin page to whole new > different look rather than the default django admin page > > Thanks > > -- > You received this message because y

Need help on customizing my django admin page to my own new look

2013-07-17 Thread Rurangwa Moses
Hey guys, I need some help on how to customize a django admin page to whole new different look rather than the default django admin page Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Locating the Django admin Page

2013-02-10 Thread vikalp sahni
I hope you have settled up admin contrib app properly on your settings.py https://docs.djangoproject.com/en/dev/ref/contrib/admin/ On Sunday, February 10, 2013, Thota Madhu Sudhan Rao wrote: > I am running apache tomcat server in Amazon EC2 and running django > application > The admin page of D

Locating the Django admin Page

2013-02-10 Thread Thota Madhu Sudhan Rao
I am running apache tomcat server in Amazon EC2 and running django application The admin page of Django is not here http://ipaddress:8080/admin Where do I find it -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: New to Django, Admin Page not Loading

2012-08-31 Thread maha
urlpatterns = patterns('', # Examples: # url(r'^$', 'budgetmanager.views.home', name='home'), # url(r'^budgetmanager/', include('budgetmanager.foo. urls')), # Uncomment the admin/doc line below to enable admin documentation: * uncomment* # url(r'^admin/', include(admin.site.u

Re: New to Django, Admin Page not Loading

2012-08-13 Thread Lachlan Musicman
On Tue, Aug 14, 2012 at 10:04 AM, judy ngai wrote: > Here is my urls.py page > > from django.conf.urls.defaults import patterns, include, url > from django.contrib import admin > admin.autodiscover() > > > urlpatterns = patterns('', > # Examples: > # url(r'^$', 'budgetmanager.views.home',

New to Django, Admin Page not Loading

2012-08-13 Thread judy ngai
Here is my urls.py page from django.conf.urls.defaults import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'budgetmanager.views.home', name='home'), # url(r'^budgetmanager/', include('budgetmanager.f

SSO User Login to Django Admin Page

2011-06-27 Thread thiru
Hi Friends I have a problem in my application, we are implementing oracle single sign on to our existing django application, I managed to implement SSO for the application, but I can able use the same information to login into Django admin. I like to know how to use the SSO login User information

Re: My django admin page breaks up . Any reason why ?

2011-06-15 Thread Anoop Thomas Mathew
Hi Satyajit, On 15 June 2011 16:19, Satyajit Sarangi wrote: > My django admin page some times breaks up . As in , initially it will > show all the required tables in a nice columns , but suddenly the > whole design breaks and the data shows up in random ways . > 1. The page break

My django admin page breaks up . Any reason why ?

2011-06-15 Thread Satyajit Sarangi
My django admin page some times breaks up . As in , initially it will show all the required tables in a nice columns , but suddenly the whole design breaks and the data shows up in random ways . Also how to reset the django admin password ? -- You received this message because you are

Re: new text area in django admin page

2011-03-31 Thread jay K.
thanks, it works fine!! I can't believe I spent 2 days trying to sort out my database issues greatly appreciate your advice :) On Thu, Mar 31, 2011 at 3:04 PM, Shawn Milochik wrote: > > On Mar 31, 2011 1:55 PM, "jay K." wrote: > > > > Thanks for the advice, > > > > But I am not exactly migrat

Re: new text area in django admin page

2011-03-31 Thread Shawn Milochik
On Mar 31, 2011 1:55 PM, "jay K." wrote: > > Thanks for the advice, > > But I am not exactly migrating databases, just modifying an existing one > > And that's exactly what South is for. > On Thu, Mar 31, 2011 at 2:50 PM, Shawn Milochik wrote: >> >> On Thu, Mar 31, 2011 at 1:39 PM, jay K. wrote

Re: new text area in django admin page

2011-03-31 Thread jay K.
Thanks for the advice, But I am not exactly migrating databases, just modifying an existing one On Thu, Mar 31, 2011 at 2:50 PM, Shawn Milochik wrote: > On Thu, Mar 31, 2011 at 1:39 PM, jay K. > wrote: > > > > > > > > So what am I doing wrong? > > > > Use South for your database migrations:

Re: new text area in django admin page

2011-03-31 Thread Shawn Milochik
On Thu, Mar 31, 2011 at 1:39 PM, jay K. wrote: > > > So what am I doing wrong? > Use South for your database migrations: http://south.aeracode.org/ Otherwise you have to write raw SQL statements to modify the database, or delete the entire database and use syncdb to re-create it to match you m

Re: new text area in django admin page

2011-03-31 Thread jay K.
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: // sta

Re: new text area in django admin page

2011-03-31 Thread Daniel Roseman
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 providi

new text area in django admin page

2011-03-31 Thread jay K.
hello how can i add a new text field in the django admin area i want to create a new subpage thanks -- 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 g

Re: Problem with overriding the default Django admin page.

2011-01-18 Thread Jiten Singh
Hi, I am sending my project file details ... Hope this helps *Project Hierarchy* mysite/ |--->/templates/ | |--->/books/(another app like dateapp) | |-->/dateapp/ | | |>*current_datetime.html* | | |>*hours_ahead.html* |

Re: Problem with overriding the default Django admin page.

2011-01-17 Thread Mike Dewhirst
On 18/01/2011 1:59pm, Mike Dewhirst wrote: This is what I do ... in settings.py # this is the directory containing settings.py PROJECT_DIR = os.path.realpath(os.path.dirname(__file__)) # if templates are not found here look in app_name/templates TEMPLATE_DIRS = (os.path.join(PROJECT_DIR, 'temp

Re: Problem with overriding the default Django admin page.

2011-01-17 Thread Mike Dewhirst
This is what I do ... in settings.py # this is the directory containing settings.py PROJECT_DIR = os.path.realpath(os.path.dirname(__file__)) # if templates are not found here look in app_name/templates TEMPLATE_DIRS = (os.path.join(PROJECT_DIR, 'templates/'),) This makes my templa

Re: Problem with overriding the default Django admin page.

2011-01-17 Thread Vovk Donets
2011/1/18 Chen Xu > I did try this, and I tried again, but it still doesn't work. > Do I need to do something extra like quit the server, and restart again? By > the way I did try this too. > > Now, I am totally lost. > > Django dev server restarts itself, but sometimes you have to manually resta

Re: Problem with overriding the default Django admin page.

2011-01-17 Thread Chen Xu
I did try this, and I tried again, but it still doesn't work. Do I need to do something extra like quit the server, and restart again? By the way I did try this too. Now, I am totally lost. Thanks On Mon, Jan 17, 2011 at 3:17 AM, Vovk Donets wrote: > You must specify in the TEMPLATE_DIRS path t

Re: Problem with overriding the default Django admin page.

2011-01-17 Thread Vovk Donets
You must specify in the TEMPLATE_DIRS path to the dir where templates were placed, not abs path file So TEMPLATE_DIRS = ( "/Users/xuchen81/Django/mysite/", ) should work, coz' "In order to override one or more of them, first create an admin directory in your project's templates directory. Thi

Re: Problem with overriding the default Django admin page.

2011-01-17 Thread robin nanola
try this, TEMPLATE_DIRS = ( "/Users/xuchen81/Django/mysite/admin", ) look here: http://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs On Mon, Jan 17, 2011 at 4:25 PM, Chen Xu wrote: > Hi, Django group: > I am floowing the tutorial 1 on Django site, which is a poll application >

Problem with overriding the default Django admin page.

2011-01-17 Thread Chen Xu
Hi, Django group: I am floowing the tutorial 1 on Django site, which is a poll application I have problem with overriding the admin page I copied admin/base_site.html from (django/contrib/admin/templates) to /Users/xuchen81/Django/mysite/admin/base_site.html and add this line "/Users/xuchen81/

How to right align choice/input fields on django admin page

2010-08-24 Thread BlueSky
Hello, I have some long field names such as "The Primary Account Number" defined in my model. When I tried to add a new record on admin page, the field name is overlapped by the text input box (so Number is overwritten by the input box). Is there a way to right align the text input or choice boxes

django admin page missing icons.....

2009-10-30 Thread William Chan
I have a fedora 9 linux web server box. I compiled php and apache. It has the python 2.5.1 rpm's that came with fedora 9. Now I have to support django on my web server. I compiled mod_python and installed the django rpm's that come with fedora 9 ( version 1.0.2 final ). I followed the tutorial h

Re: How do I show generic relationship items with my generic inline on Django Admin page?

2009-08-11 Thread chyea
Oops. I don't mean to triple post, here, but I think the original post might be slightly confusing. When I say that I'd like to be able to select from existing RelatedLinks, I don't mean that I'd like to view the existing relationships between the new Entry model and the RelatedLinks model. The g

Re: How do I show generic relationship items with my generic inline on Django Admin page?

2009-08-11 Thread chyea
I'm still a little lost, here. I'm not sure how I'd do this. On Aug 10, 10:58 pm, chyea wrote: > Hi all, > > I've just finished reading through the docs, and following > ubernostrum's blog post about generic inlines. Generic relationships > and generic inlines are exactly what I'm looking for. T

How do I show generic relationship items with my generic inline on Django Admin page?

2009-08-10 Thread chyea
Hi all, I've just finished reading through the docs, and following ubernostrum's blog post about generic inlines. Generic relationships and generic inlines are exactly what I'm looking for. They're working as intended, but is it possible for me to view existing related items when creating a new e

Re: Can not get Django admin page

2009-05-05 Thread George Song
On 5/5/2009 8:57 AM, David wrote: > Hello, > > I am following those steps in django tutorial 2, however I can not > get "django administration: Username and Password" page. I still get > the "Welcome" page. > > I did these steps twice but I got the same result. > > 1. Add "django.contrib.ad

Re: Can not get Django admin page

2009-05-05 Thread David
Hi Nate, You are right... I did not uncomment (r^...). now it works. thanks so much! and thanks too to Adam and Matthias! David On May 5, 9:43 am, Domain Admin wrote: > In the urls.py did you also uncomment the last line where it says: > # Uncomment the next line to enable the admin: >  

Re: Can not get Django admin page

2009-05-05 Thread Domain Admin
In the urls.py did you also uncomment the last line where it says: # Uncomment the next line to enable the admin: (r'^admin/(.*)', admin.site.root), ? -Nate On Tue, May 5, 2009 at 12:34 PM, David wrote: > > yes, i added "/admin" to the url. > > thanks, > > david > > > On May 5, 9:05 am, Mat

Re: Can not get Django admin page

2009-05-05 Thread Adam Stein
Maybe you need to add "/admin/" (note the 2nd slash). Could be your URL patterns are expecting an ending slash? On Tue, 2009-05-05 at 09:34 -0700, David wrote: > yes, i added "/admin" to the url. > > thanks, > > david > > > On May 5, 9:05 am, Matthias Petermann wrote: > > Did you add /admin

Re: Can not get Django admin page

2009-05-05 Thread David
yes, i added "/admin" to the url. thanks, david On May 5, 9:05 am, Matthias Petermann wrote: > Did you add /admin to the URL? > > Kind regards, > Matthias > > Am Dienstag, den 05.05.2009, 09:03 -0700 schrieb David: > > > > > ...and I re-started the dev server as the 4th step > > > david > > >

Re: Can not get Django admin page

2009-05-05 Thread Matthias Petermann
Did you add /admin to the URL? Kind regards, Matthias Am Dienstag, den 05.05.2009, 09:03 -0700 schrieb David: > ...and I re-started the dev server as the 4th step > > > david > > > On May 5, 8:57 am, David wrote: > > Hello, > > > > I am following those steps in django tutorial 2, however

Re: Can not get Django admin page

2009-05-05 Thread David
...and I re-started the dev server as the 4th step david On May 5, 8:57 am, David wrote: > Hello, > > I am following  those steps in django tutorial 2,  however I can not > get "django administration: Username and Password" page. I still get > the "Welcome" page. > > I did these steps twice b

Can not get Django admin page

2009-05-05 Thread David
Hello, I am following those steps in django tutorial 2, however I can not get "django administration: Username and Password" page. I still get the "Welcome" page. I did these steps twice but I got the same result. 1. Add "django.contrib.admin" to your INSTALLED_APPS setting. 2. Run python

Re: Django admin page hangs in django server - where is web server error log?

2009-04-11 Thread Malcolm Tredinnick
On Sat, 2009-04-11 at 17:40 -0700, adelein wrote: > Hi Zain, > > The thing is that I was able to access the main page before I changed > the urls.py file, so I think that means that the port isnt being > blocked. Something to do with the urls.py file is messed up : ( Then go back and try things

Re: Django admin page hangs in django server - where is web server error log?

2009-04-11 Thread adelein
Hi Zain, The thing is that I was able to access the main page before I changed the urls.py file, so I think that means that the port isnt being blocked. Something to do with the urls.py file is messed up : ( Thanks On Apr 11, 5:35 pm, Zain Memon wrote: > Since no messages are shown in the log

Re: Django admin page hangs in django server - where is web server error log?

2009-04-11 Thread Zain Memon
Since no messages are shown in the log, the connection is most likely being blocked somewhere upstream. Check that you've allowed port 8001 through any firewalls or routers you have set up. Zain On Sat, Apr 11, 2009 at 5:23 PM, adelein wrote: > > This is the server output: > > > [r...@bellatrix

Re: Django admin page hangs in django server - where is web server error log?

2009-04-11 Thread adelein
This is the server output: [r...@bellatrix djangoblog]# python manage.py runserver 93.186.171.54:8001 Validating models... 0 errors found Django version 1.1 beta 1 SVN-10504, using settings 'djangoblog.settings' Development server is running at http://93.186.171.54:8001/ Quit the server with CO

Re: Django admin page hangs in django server - where is web server error log?

2009-04-11 Thread adelein
Yes, and I see no errors there. Still the admin page does not load at all. I cant find any similar problems through google. On Apr 11, 5:17 pm, Malcolm Tredinnick wrote: > On Sat, 2009-04-11 at 17:09 -0700, adelein wrote: > > > Hi, > > > Sorry, I meant to say urls.py of course. So, given I did p

Re: Django admin page hangs in django server - where is web server error log?

2009-04-11 Thread Malcolm Tredinnick
On Sat, 2009-04-11 at 17:09 -0700, adelein wrote: > > Hi, > > Sorry, I meant to say urls.py of course. So, given I did put the code > in the right file, the problem still remains. If you're following the tutorial, then you will be running the development server. So all "server log" style output

Re: Django admin page hangs in django server - where is web server error log?

2009-04-11 Thread adelein
Hi, Sorry, I meant to say urls.py of course. So, given I did put the code in the right file, the problem still remains. -Adelein On Apr 11, 1:58 pm, Daniel Roseman wrote: > On Apr 11, 8:42 pm, adelein wrote: > > > > > Hi, > > > Myhttp://localhost:8000/adminpageis hanging in the django serv

Re: Django admin page hangs in django server - where is web server error log?

2009-04-11 Thread Daniel Roseman
On Apr 11, 8:42 pm, adelein wrote: > Hi, > > Myhttp://localhost:8000/adminpage is hanging in the django server > and I get "Error 320 (net::ERR_INVALID_RESPONSE): Unknown error." > after a while. > > I am running on fedora 7. > > I am following the django tutorial and I am using the latest svn >

Django admin page hangs in django server - where is web server error log?

2009-04-11 Thread adelein
Hi, My http://localhost:8000/admin page is hanging in the django server and I get "Error 320 (net::ERR_INVALID_RESPONSE): Unknown error." after a while. I am running on fedora 7. I am following the django tutorial and I am using the latest svn django version. After I set this in the settings.p

Re: where are the code that handle image file upload in Django admin page?

2008-12-23 Thread krylatij
http://docs.djangoproject.com/en/dev/topics/http/file-uploads/ here is a sample how to handle file upload And have tried: MyForm.save()? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: where are the code that handle image file upload in Django admin page?

2008-12-22 Thread Chuck22
Anyone can help on this? I get stuck with image file upload. On Dec 21, 11:33 pm, Chuck22 wrote: > I have three ImageField in my form and model, I want to know how to > upload the three image files in the form processing code. I found > Django Admin page handles the image file uplo

where are the code that handle image file upload in Django admin page?

2008-12-21 Thread Chuck22
I have three ImageField in my form and model, I want to know how to upload the three image files in the form processing code. I found Django Admin page handles the image file upload nicely. And I want to do the exactly same work. But I can not find the piece of code that does the job when

Re: Django Admin Page Media Path

2008-02-13 Thread [EMAIL PROTECTED]
thanks, my problem has been solved. On Feb 13, 2:33 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Feb 13, 2008 8:24 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > > Hi Karen: > > > it's running on production(0.96). > > > and the django project path is: > > /home/xxd/Desktop/Djang

Re: Django Admin Page Media Path

2008-02-13 Thread Karen Tracey
On Feb 13, 2008 8:24 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Karen: > > it's running on production(0.96). > > and the django project path is: > /home/xxd/Desktop/Django-0.96.1/django/bin/project > > I'd like to move the admin page media path from > /usr/lib/python2.5/site-packages/

Re: Django Admin Page Media Path

2008-02-13 Thread [EMAIL PROTECTED]
Hi Karen: it's running on production(0.96). and the django project path is: /home/xxd/Desktop/Django-0.96.1/django/bin/project I'd like to move the admin page media path from /usr/lib/python2.5/site-packages/django/contrib/admin/media to /home/xxd/Desktop/Django-0.96.1/django/bin/projec/media/a

Re: Django Admin Page Media Path

2008-02-13 Thread Karen Tracey
On Feb 13, 2008 5:41 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello everyone! > I'd like to change the Admin Page media path for my website which is > based on Django. Are you running this site in production (apache, perhaps?) or development (using the built-in development server)? >

Django Admin Page Media Path

2008-02-13 Thread [EMAIL PROTECTED]
Hello everyone! I'd like to change the Admin Page media path for my website which is based on Django. However, i tried that command below: manage.py --adminmedia='/home/media/' but it does not work at all, so i have to edit the css or to add new javascript code into: /usr/lib/python2.5/site-packa

django admin page

2007-11-27 Thread mike
Hello this is my first post, I work the helpdesk for a small company and I am trying to design a form to keep track our customers, contact info and the reason for their calls, I would like my customer form to list links to notes for each time they called with dates, here is my currentl models.py a

Re: Django Admin page says a ForeignKey("self", null=True) field is required

2007-09-13 Thread Martin Taylor
Found the solution myself: It seems that you must have both "null=True" and "blank=True" to get the desired behavior of "not required" for the "Parent" field. My modified model has this line now: Parent = models.ForeignKey("self", null=True, blank=True, verbose_name="ParentFolder") On Sep 13,

Re: Django Admin page says a ForeignKey("self", null=True) field is required

2007-09-13 Thread James Bennett
On 9/13/07, Martin Taylor <[EMAIL PROTECTED]> wrote: > Obviously the first folder in the folder tree, or any top level > folder, will not have a Parent. I don't really want to create an > artificial top level Parent like "root". Any explanation of why this > is happening and what to do to fix it

Django Admin page says a ForeignKey("self", null=True) field is required

2007-09-13 Thread Martin Taylor
I've created a very simple Django app to model a tree (like a file system directory tree). Here's the model.py file: from django.db import models # # Define constants used to control sizes of DB fields # MAX_NAME = 100 # Maximum size of an object's Name field # # Create your models here. # cla