Re: Problem with admin site

2021-03-03 Thread kolo1
Re: Problem with admin siteThanx for your replay. I found my mistake. I have incorrectly implemented the qrcode software in urls.py in two applications in my project. I have: path('pdf_page', lost.home, include('qr_code.urls', namespace="qr_code"), name='p

Re: Problem with admin site

2021-03-03 Thread Mr. X Offencer
Show your model.py On Wed, 3 Mar 2021, 19:41 kolo1, wrote: > Hey > I've made some project with couples apps and now I'd like to manage by > admin site but when I try to open localhost:8000/admin I get error > """ > TypeError at /admin/'tuple' object is not a mappingRequest Method: > GETRequest U

Problem with admin site

2021-03-03 Thread kolo1
Hey I've made some project with couples apps and now I'd like to manage by admin site but when I try to open localhost:8000/admin I get error """ TypeError at /admin/'tuple' object is not a mappingRequest Method: GETRequest URL: http://localhost:8000/admin/ Django Version: 3.1.6Exception Type: Typ

Re: problem with admin panel

2020-04-17 Thread Cristhian Heredia Claure
thanks for yor reply, and yes y Did that, my static files created correctly, but the admin page still without Stlye, I really don't understand, because in my Raspberry Pi I didn't do any other configuration and the admin page is perfect. El viernes, 17 de abril de 2020, 7:32:56 (UTC-4), Andréas

Re: problem with admin panel

2020-04-17 Thread Andréas Kühne
This sounds like you are having problems with the static files - check so that you have run "manage.py collectstatic" correctly and that the command works. Regards, Andréas Den fre 17 apr. 2020 kl 03:57 skrev Cristhian Heredia Claure < cris94@gmail.com>: > > Hello everyone Sorry if it's no

problem with admin panel

2020-04-16 Thread Cristhian Heredia Claure
Hello everyone Sorry if it's not correct to post here this issue that I have... In a LINUX environment, after all configuration for my project, when I try to log in the admin site, the style of the page of the admin panel is well stylized, as it should be. But in the test that I did in a Window

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
I had the same problem on apache after running collect static Sent from my iPad > On 11-Feb-2020, at 1:01 AM, Alessandro D' Oronzo wrote: > > Hi, it is a default admin page. > > Il giorno lun 10 feb 2020 alle 20:26 maninder singh Kumar > ha scritto: >> Is it just one css or all css ? >> >>

Re: Problem with Admin Page

2020-02-10 Thread Alessandro D' Oronzo
Hi, it is a default admin page. Il giorno lun 10 feb 2020 alle 20:26 maninder singh Kumar < maninder.s.ku...@gmail.com> ha scritto: > Is it just one css or all css ? > > > > [image: --] > > Maninder Kumar > [image: http://]about.me/maninder.s.kumar >

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
Is it just one css or all css ? [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 10, 2020 at 7:08 PM Rishabh Gupta wrote: > I have problem with CSS .CSS is not loading from static folder > > Help me So i hel

Re: Problem with Admin Page

2020-02-10 Thread Rishabh Gupta
I have problem with CSS .CSS is not loading from static folder > Help me So i help others for same Thanks Rishabh On Mon, Feb 10, 2020 at 4:58 PM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > Couldn't be anything in the tracebacks ! > > > [image: --] > > Maninder Kumar > [image: ht

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
Good job then I was wrong [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 10, 2020 at 6:14 PM Alessandro D' Oronzo wrote: > I have resolve it. The problem is version of python. Upgrade to 3.8 and I > have f

Re: Problem with Admin Page

2020-02-10 Thread Alessandro D' Oronzo
I have resolve it. The problem is version of python. Upgrade to 3.8 and I have fix the problem Il giorno lun 10 feb 2020 alle 12:28 maninder singh Kumar < maninder.s.ku...@gmail.com> ha scritto: > Couldn't be anything in the tracebacks ! > > > [image: --] > > Maninder Kumar > [image: http://]abou

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
Couldn't be anything in the tracebacks ! [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 10, 2020 at 2:32 PM onlinejudge95 wrote: > Also, traceback would be awesome > > On Mon, Feb 10, 2020 at 12:09 AM Ales

Re: Problem with Admin Page

2020-02-10 Thread maninder singh Kumar
My guess is you have a problem with your browser ! [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Mon, Feb 10, 2020 at 12:09 AM Alessandro D' Oronzo wrote: > Hi everyone, > I have a problem with local web server an

Re: Problem with Admin Page

2020-02-10 Thread onlinejudge95
Also, traceback would be awesome On Mon, Feb 10, 2020 at 12:09 AM Alessandro D' Oronzo wrote: > Hi everyone, > I have a problem with local web server and admin page. > When I try to connect to admin page the web server of Django close without > errors. > Do you have any ideas? > > Thanks so much

Re: Problem with Admin Page

2020-02-09 Thread Gil Obradors
Hi Alessandro, can you report python version and django version? Missatge de Alessandro D' Oronzo del dia dg., 9 de febr. 2020 a les 19:38: > Hi everyone, > I have a problem with local web server and admin page. > When I try to connect to admin page the web server of Django close without > error

Problem with Admin Page

2020-02-09 Thread Alessandro D' Oronzo
Hi everyone, I have a problem with local web server and admin page. When I try to connect to admin page the web server of Django close without errors. Do you have any ideas? Thanks so much! -- You received this message because you are subscribed to the Google Groups "Django users" group. To un

Re: problem with admin settings

2012-03-20 Thread Swaroop Shankar V
Sophia, I created a project, and tired your settings.py file on that project. Did a syncdb and everything is working perfectly fine at my end. As i said before it looks like due to some reason the django_session table is not getting created at your end. Instead of running syncdb from pycharm enviro

Re: problem with admin settings

2012-03-19 Thread Sophia
Of course I attach it, Thanks for helping Swaroop. On Sunday, March 18, 2012 9:25:12 PM UTC-7, Swaroop Shankar wrote: > > Sophia, > Could you please provide me with your settings.py file? > On Mar 19, 2012 4:04 AM, "Sophia" wrote: > >> Swaroop, >> >> I run sync.db this is what it shows after runn

Re: problem with admin settings

2012-03-18 Thread Swaroop Shankar V
Sophia, Could you please provide me with your settings.py file? On Mar 19, 2012 4:04 AM, "Sophia" wrote: > Swaroop, > > I run sync.db this is what it shows after running sync.db : > > Creating tables ... > Installing custom SQL ... > Installing indexes ... > No fixtures found. > > Process finishe

Re: problem with admin settings

2012-03-18 Thread Sophia
Swaroop, I run sync.db this is what it shows after running sync.db : Creating tables ... Installing custom SQL ... Installing indexes ... No fixtures found. Process finished with exit code 0 without any error, but it still doesn't work, would you please help me with it, I really stuck :( On

Re: problem with admin settings

2012-03-18 Thread Martynas Sklizmantas
http://flask.pocoo.org/ On Sun, Mar 18, 2012 at 11:45 AM, Sophia wrote: > Actually I use PyCharm environment, and I right click on the database file > and click synchronization 'database.db', I think that would do the syncdb > that we use in command prompt. But here I still have the problem. >

Re: problem with admin settings

2012-03-18 Thread Sophia
Actually I use PyCharm environment, and I right click on the database file and click synchronization 'database.db', I think that would do the syncdb that we use in command prompt. But here I still have the problem. On Saturday, March 17, 2012 2:46:25 PM UTC-7, Swaroop Shankar wrote: > > Did you

Re: problem with admin settings

2012-03-17 Thread Swaroop Shankar V
Did you run the syncdb after enabling it? While doing a syncdb did you encounter any errors? From the error it looks like django_session table is not created. Thanks and Regards, Swaroop Shankar V On Sun, Mar 18, 2012 at 3:07 AM, Sophia wrote: > Thank you for helping, I had enabled it. But I

Re: problem with admin settings

2012-03-17 Thread Sophia
Thank you for helping, I had enabled it. But I don't know what's wrong with it! On Saturday, March 17, 2012 2:23:10 PM UTC-7, Swaroop Shankar wrote: > > Sophia, > Please check if you have enabled the app 'django.contrib.sessions' in > your INSTALLED_APPS, if not do that and then do a syncdb, thi

Re: problem with admin settings

2012-03-17 Thread Swaroop Shankar V
Sophia, Please check if you have enabled the app 'django.contrib.sessions' in your INSTALLED_APPS, if not do that and then do a syncdb, this issue should be resolved. Thanks and Regards, Swaroop Shankar V On Sun, Mar 18, 2012 at 2:41 AM, Sophia wrote: > Hi all, > > I'm trying to set my admin

problem with admin settings

2012-03-17 Thread Sophia
Hi all, I'm trying to set my admin settings so I will get the web page asking for user name and password, I did all the settings that is needed and mentioned in the online django book(chapter6), but the page keep giving me this error : Exception Type: DatabaseError Exception Value: no such

Re: Problem with admin

2012-01-31 Thread Daniel Roseman
On Tuesday, 31 January 2012 20:04:33 UTC, Kolbe wrote: > > Hi guys, I created a new app and within that app, I also specified a > new admin.py file. Is that how the admin portion for that app is > managed? > > Anyway, after I created my models and syncdb, then run server, I have > been unable

Problem with admin

2012-01-31 Thread Kolbe
Hi guys, I created a new app and within that app, I also specified a new admin.py file. Is that how the admin portion for that app is managed? Anyway, after I created my models and syncdb, then run server, I have been unable to access the admin gui. I keep getting this error below, but I don't un

Re: Strange problem with admin, ManyToMany and DEBUG=False

2011-05-02 Thread Nick
Many thanks for your reply Karen. I followed your first suggestion, removing quoted strings, which didn't make a difference. I don't know why I was importing django.forms in my models.py as I wasn't using it, so I removed that. I have now fixed this by simply changing the location of the admin.a

Re: Strange problem with admin, ManyToMany and DEBUG=False

2011-05-02 Thread Karen Tracey
On Mon, May 2, 2011 at 5:49 AM, Nick wrote: > I'm having a very strange problem with a site I've developed, which > only seems to happen when DEBUG=False and is now preventing my from > launching the site (unless I launch it in DEBUG mode, which I > obviously don't want to). The EXACT same code

Re: Strange problem with admin, ManyToMany and DEBUG=False

2011-05-02 Thread Nick
Hi, Yes sorry that wasn't clear. There is basically: page = get_object_or_404(models.Page, slug=level0) which varies depending on the number of "level" arguments passed into the view. So "page" will always be a lookup of a Page object. Thanks, Nick On May 2, 11:05 am, Xavier Ordoquy wrote:

Re: Strange problem with admin, ManyToMany and DEBUG=False

2011-05-02 Thread Xavier Ordoquy
Le 2 mai 2011 à 11:49, Nick a écrit : > Hi, > > I'm having a very strange problem with a site I've developed, which > only seems to happen when DEBUG=False and is now preventing my from > launching the site (unless I launch it in DEBUG mode, which I > obviously don't want to). The EXACT same cod

Strange problem with admin, ManyToMany and DEBUG=False

2011-05-02 Thread Nick
Hi, I'm having a very strange problem with a site I've developed, which only seems to happen when DEBUG=False and is now preventing my from launching the site (unless I launch it in DEBUG mode, which I obviously don't want to). The EXACT same code works in DEBUG=True, but with DEBUG=False I get t

problem with admin tools 2.0 when dashboard.columns > 2

2010-05-19 Thread Massimiliano della Rovere
When I set Dashboard.columns to a value greater than 2, custom dashboardmodules are rendered narrower than they should appear and with lots of icons superimpressed. I am adding 1 DashboardModule and 2 LinkListDashboardModule-s to the CustomIndexDashboard using init_with_context. class CustomIndexD

Re: Problem with admin actions and i18n

2010-04-06 Thread Vinicius Mendes
Sorry, i am using Django 1.1.1 final >>> import django >>> django.VERSION (1, 1, 1, 'final', 0) __ Vinícius Mendes Solucione Sistemas http://solucione.info/ On Tue, Apr 6, 2010 at 1:09 PM, Ramiro Morales wrote: > On Tue, Apr 6, 2010 at 12:48 PM, Vinicius Mendes > wrote: >

Re: Problem with admin actions and i18n

2010-04-06 Thread Ramiro Morales
On Tue, Apr 6, 2010 at 12:48 PM, Vinicius Mendes wrote: > Hi, > I have a ModelAdmin with two new actions and I added a > locale/pt_BR/LC_MESSAGES to my project folder to change the translation of > the "Delete selected" option. Locally it works but the translated message > user is the provided by

Problem with admin actions and i18n

2010-04-06 Thread Vinicius Mendes
Hi, I have a ModelAdmin with two new actions and I added a locale/pt_BR/LC_MESSAGES to my project folder to change the translation of the "Delete selected" option. Locally it works but the translated message user is the provided by Django. I get my change list with 3 actions, but when I run it in

Re: Problem with admin after moving to another machine

2009-07-08 Thread urukay
gt; don't >> need this log... >> >> Thanks! >> >> Diogo > > > > -- View this message in context: http://www.nabble.com/Problem-with-admin-after-moving-to-another-machine-tp24385109p24404326.html Sent from the django-users mailing list archive at Na

Re: Problem with admin after moving to another machine

2009-07-08 Thread diogobaeder
Alright, solved. I restored the db to an earlier state, and this bug no longer happens. Now I have another bug, but that's another thread. Thanks anyway. Diogo On Jul 9, 2:22 am, diogobaeder wrote: > No one? Just this: how do I delete my recent actions log? I think this > might be the problem.

Re: Problem with admin after moving to another machine

2009-07-08 Thread diogobaeder
No one? Just this: how do I delete my recent actions log? I think this might be the problem... Thanks, Diogo On Jul 8, 1:22 am, diogobaeder wrote: > Hi there, > > I started to have this error:http://dpaste.com/64355/ > while trying to access my admin site, after I moved my website from > one

Problem with admin after moving to another machine

2009-07-07 Thread diogobaeder
Hi there, I started to have this error: http://dpaste.com/64355/ while trying to access my admin site, after I moved my website from one machine (my desktop) to the other (my laptop). I already restored my PostgreSQL database, and recreated the superuser (while trying to solve this problem), but

Re: A puzzling problem with admin

2009-05-13 Thread Andy Baker
Nothing. It's literally just either: manage.py runserver or manage.py runfcgi The full command is: python ~/myapp/myproject/manage.py runfcgi maxchildren=1 maxspare=1 method=prefork socket=~/myapp/myproject.sock On Wed, May 13, 2009 at 6:14 PM, Brian Neal wrote: > > On May 13, 10:13 am, andyb

Re: A puzzling problem with admin

2009-05-13 Thread Brian Neal
On May 13, 10:13 am, andybak wrote: > Getting somewhere... > > I'm running on Django 1.0 via nginx/fcgi > > When I run via the dev server (leaving everything else the same) the > problem goes away. > > How can the effects of a POST to a model form in admin be affected > purely by switching betwee

Re: A puzzling problem with admin

2009-05-13 Thread andybak
Getting somewhere... I'm running on Django 1.0 via nginx/fcgi When I run via the dev server (leaving everything else the same) the problem goes away. How can the effects of a POST to a model form in admin be affected purely by switching between fcgi and the dev server? --~--~-~--~~

A puzzling problem with admin

2009-05-13 Thread AndyB
I've got a strange issue and I'm not even sure how to go about tracking down the source of the problem let alone fix it. I'm posting here in the hope someone can give me a clue rather than a solution. I've got an app that runs fine on the local development server. When I run it on a live server t

Re: Problem with admin validation

2009-03-02 Thread Joshua Russo
Ok, I figured out what was going on. I was testing some custom save logic and was just reloading the page to have my browser (Firefox) resend the post data. The validation of the inline models works just fine if I come into the model change page normally. On Feb 27, 7:29 pm, Joshua Russo wrote:

Problem with admin validation

2009-02-27 Thread Joshua Russo
I have a model admin page where I want to edit a ManyToMany relation model as an inline model but It is treating the extra entries for the inline relation as required. How do I make the inline model not required? --~--~-~--~~~---~--~~ You received this message becau

Re: problem with admin in a .90 site

2009-02-02 Thread Malcolm Tredinnick
On Mon, 2009-02-02 at 14:36 +0530, Kenneth Gonsalves wrote: > hi, > I have an old site running on revision 2486 - had not touched it for years > and > since it wasnt broken nor needed new features, I did not upgrade it. A new > model was required, so I added it, but it was not appearing in sqla

Re: problem with admin in a .90 site

2009-02-02 Thread Kenneth Gonsalves
On Monday 02 Feb 2009 2:36:49 pm Kenneth Gonsalves wrote: > there is a directory called myapp.web.models, but that only held an > __init__.py file which was empty. In those days django required for models > in an app called web, to have a directory like > web/models/web.py and /web/views/web.py. A

Re: problem with admin in a .90 site

2009-02-02 Thread Kenneth Gonsalves
On Monday 02 Feb 2009 3:27:33 pm Daniel Roseman wrote: > > Any clues (I know I should not expect people to help out on such old > > stuff, but if there *are* any oldtimers with long memories ...) > > -- > > regards > > KGhttp://lawgon.livejournal.com > > Was this pre-magic removal? I seem to remem

Re: problem with admin in a .90 site

2009-02-02 Thread Daniel Roseman
On Feb 2, 9:06 am, Kenneth Gonsalves wrote: > hi, > I have an old site running on revision 2486 - had not touched it for years and > since it wasnt broken nor needed new features, I did not upgrade it. A new > model was required, so I added it, but it was not appearing in sqlall > statement. The

problem with admin in a .90 site

2009-02-02 Thread Kenneth Gonsalves
hi, I have an old site running on revision 2486 - had not touched it for years and since it wasnt broken nor needed new features, I did not upgrade it. A new model was required, so I added it, but it was not appearing in sqlall statement. The application is called 'web' and under the directory

RE: Problem with admin (urls)

2008-06-09 Thread Fred Reillier
+at+%2Fadmin%2F#7 323c1dad954c87b Fred Reillier [EMAIL PROTECTED] http://www.lanquarem.com http://www.musique-electro.net De : django-users@googlegroups.com [mailto:[EMAIL PROTECTED] De la part de ¤ AbdulHafeez Envoyé : lundi 9 juin 2008 12:51 À : django-users@googlegroups.com Obj

Re: Problem with admin (urls)

2008-06-09 Thread ¤ۣۜ๘۩ AbdulHafeez
please use this link and check http://localhost:8000/admin regards AbdulHafeez On Mon, Jun 9, 2008 at 4:15 PM, Nader <[EMAIL PROTECTED]> wrote: > > Hello, > > I have a question. I have started a new project. > > This is my "urls.py" file : > > from django.conf.urls.defaults import * > > urlpat

Problem with admin (urls)

2008-06-09 Thread Nader
Hello, I have a question. I have started a new project. This is my "urls.py" file : from django.conf.urls.defaults import * urlpatterns = patterns('', # Example: # (r'^nadc/', include('nadc.foo.urls')), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.url

Re: relative link problem with admin login

2008-04-05 Thread MrJogo
My urls.py file is (I only used the non-testing part): from django.conf.urls.defaults import * urlpatterns = patterns('', ('', url(r'^~mysite/', include('mysite.mysiteurls'))), ) And my mysiteurls.py file: from django.conf.urls.defaults import * urlpatterns = patterns('', url(r'^admin/',

Re: relative link problem with admin login

2008-04-03 Thread Evert Rol
> I tried doing what you suggested, but now it gives me the error > 'RegexURLResolver' object has no attribute 'rindex' when I try to go > to the admin page (or any page that exists, for that matter. Pages > that don't exist get an unhandled exception). Can you show us your url setup as you have

Re: relative link problem with admin login

2008-04-02 Thread MrJogo
I tried doing what you suggested, but now it gives me the error 'RegexURLResolver' object has no attribute 'rindex' when I try to go to the admin page (or any page that exists, for that matter. Pages that don't exist get an unhandled exception). Also, I'm not sure if your solution will fix my pro

Re: relative link problem with admin login

2008-04-02 Thread Evert Rol
> I'm trying to set up my site on a university webspace, so the root is > a subdirectory, ie www.university.edu/~mysite/. Because of this, I'm > having trouble logging into the admin pages. I go to > www.university.edu/~mysite/admin/ > and get the login page, but when I try to login, it goes to >

relative link problem with admin login

2008-04-02 Thread MrJogo
I'm trying to set up my site on a university webspace, so the root is a subdirectory, ie www.university.edu/~mysite/. Because of this, I'm having trouble logging into the admin pages. I go to www.university.edu/~mysite/admin/ and get the login page, but when I try to login, it goes to www.univers

Re: learning django, strange problem with admin

2007-08-24 Thread Graham Dumpleton
On Aug 24, 6:33 pm, "Timothy Kanters" <[EMAIL PROTECTED]> wrote: > > Some may suggest that you set maximum number of requests per Apache > > child to 1. This however is a rather brute force approach and if doing > > that you may as well use CGI. > > Aye, but for my development server that is quite

Re: learning django, strange problem with admin

2007-08-24 Thread Timothy Kanters
> Some may suggest that you set maximum number of requests per Apache > child to 1. This however is a rather brute force approach and if doing > that you may as well use CGI. Aye, but for my development server that is quite ok, easier to do than restarting apache after every change :) Thanks for

Re: learning django, strange problem with admin

2007-08-23 Thread eXt
That clarifies much. Thank you. On 23 Sie, 13:52, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Aug 23, 9:17 pm, eXt <[EMAIL PROTECTED]> wrote: > > > Yes very familiar. I also experienced this kind of strange behaviour > > from my app behind apache. Two things to do: > > 1. restart apache afte

Re: learning django, strange problem with admin

2007-08-23 Thread Graham Dumpleton
On Aug 23, 9:17 pm, eXt <[EMAIL PROTECTED]> wrote: > Yes very familiar. I also experienced this kind of strange behaviour > from my app behind apache. Two things to do: > 1. restart apache after changes to your files (there is a directive to > autoreload described somewhere in the docs - useful fo

Re: learning django, strange problem with admin

2007-08-23 Thread eXt
Yes very familiar. I also experienced this kind of strange behaviour from my app behind apache. Two things to do: 1. restart apache after changes to your files (there is a directive to autoreload described somewhere in the docs - useful for development) 2. if it doesn't help you then manually remo

learning django, strange problem with admin

2007-08-23 Thread Timothy Kanters
Hey, I've got django installed on a webserver with apache / mod_python / mysql (on debian). I've got the latest svn version of django installed. I'm runinng through the tutorials but I'm getting some strange results. Tutorial 1 went fine, so I've got the Poll / Choice models and I can work with

problem with admin look and feel also with dojo

2007-05-23 Thread [EMAIL PROTECTED]
hi i am new to this group i have installed apache2 and django 0.96 with mysql. i have a small application installed with this setup. now when i start admin page it shows plain page without any look and feel. i can see it with django internal server. i read previous article on it and made some chan

Problem with admin pages

2006-06-28 Thread knobi
After my last svn update to django, calling an admin page produces the following error: tried urls in module django.contrib.admin. Error was: 'module' object has no attribute 'urls' debugging position django\core\urlresolvers.py in get_callback line 123 the debugger shows me that django.contrib.