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='pdf_page') change to: path

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

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:

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),

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

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

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

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:

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

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:

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

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

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

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 >

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

Re: Django tutorial 2.0 problem on admin site

2018-03-28 Thread Zhizhong Kang
Thank you. You are right there are problems in both my mysite/urls.py and polls/urls.py. I fixed it by following the tutorial. On Wednesday, March 28, 2018 at 10:35:01 AM UTC-7, Daniel Hepper wrote: > > My guess is that there is a problem with your URL definition. > > Double-check your

Re: Django tutorial 2.0 problem on admin site

2018-03-28 Thread Daniel Hepper
My guess is that there is a problem with your URL definition. Double-check your mysite/urls.py and polls/urls.py When in doubt, post the source of both files (preferably as text, not screenshot). Hope that helps, Daniel On Wednesday, March 28, 2018 at 6:25:12 PM UTC+2, Zhizhong Kang wrote: >

Django tutorial 2.0 problem on admin site

2018-03-28 Thread Zhizhong Kang
Hey guys what's up. I've got problem on the poll app in the admin site. For now I can enter the admin site and poll app is displayed.

Re: problem implementing admin inline

2014-11-21 Thread Collin Anderson
Hi, Here's a hack that might solve your problem. # moduleApp/admin.py class ModuleAdmin(admin.ModelAdmin): inlines = [] # etc admin.site.register(Module, ModuleAdmin) # articleApp/admin.py from moduleApp.admin import ModuleAdmin class ArticleInline(admin.StackedInline): model =

problem implementing admin inline

2014-11-20 Thread yakkadesign
I have a model that has a foreignKey to a model. I want to be able to edit the model within the admin in moduleApp.models I have something like: class module(models.Model): HTML = models.TextField( blank=True, null=True ) in articleApp.models I have something like: class

Re: Problem Django Admin app is read only!

2014-06-23 Thread Enaut Waldmeier
The Problem was that I havn't had a sepparate file for the admin declarations (which should be ok according to the specs). But it didn't work. A more detailed step by step guide how to reproduce the issue was filed https://code.djangoproject.com/ticket/21262 . I think it happened because I

Re: Problem Django Admin app is read only!

2014-06-23 Thread Inixtrom
> Greets from Ratingen >> Frank >> >> >> Am 06.06.13 17:08, schrieb Enaut Waldmeier: >> >> Hi, >> >> I have a problem with django-admin whenever I deploy my page to the >> apache server with DEBUG=False django-admin displys all the entries o

Re: Problem Django Admin app is read only!

2013-06-07 Thread Enaut Waldmeier
ectly by apache. I just can't modify the entries of the "Belegung" app through django-admin. > Greets from Ratingen > Frank > > > Am 06.06.13 17:08, schrieb Enaut Waldmeier: > > Hi, > > I have a problem with django-admin whenever I deploy my page to the ap

Re: Problem Django Admin app is read only!

2013-06-06 Thread Frank Bieniek
Hi, who is serving your media files? apache? In debug mode django is not delivering them, if it is run through mod_wsgi Greets from Ratingen Frank Am 06.06.13 17:08, schrieb Enaut Waldmeier: Hi, I have a problem with django-admin whenever I deploy my page to the apache server with DEBUG

Problem Django Admin app is read only!

2013-06-06 Thread Enaut Waldmeier
Hi, I have a problem with django-admin whenever I deploy my page to the apache server with DEBUG=False django-admin displys all the entries of this app as if they had `has_change_permission(): return false`. I can't find any errors and it only happens on apache. what works and what does

Inlines problem under admin: on production server I'm unable to add more lines in the inline section

2013-05-23 Thread Victor
In admin.py I have ... class MovimentomagInline(admin.TabularInline): model=Movimentomag extra=3 save_on_top=True class MovimentoOperazioneOption(admin.ModelAdmin): list_display = ('segno', 'data_movimento', 'paziente','operatore')

Re: Problem Accessing Admin Pages

2012-09-13 Thread Lachlan Musicman
On Fri, Sep 14, 2012 at 7:40 AM, bml1rules wrote: > Hey Guys! > > I am the webmaster of a Django database and I recently ran into a snag. We > have an admin section with about 15 privileges. All of a sudden, almost all > of them are gone. I've tried getting to them by

Problem Accessing Admin Pages

2012-09-13 Thread bml1rules
Hey Guys! I am the webmaster of a Django database and I recently ran into a snag. We have an admin section with about 15 privileges. All of a sudden, almost all of them are gone. I've tried getting to them by typing in the url, but it just takes me back to the main page. However, the pages are

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

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

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

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

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

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

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,

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, > >

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

Django admin URL redirect problem in admin page

2011-11-30 Thread Asif
Dear All, In one of my django app, I extended the django User model and created a new ‘UserProfile ‘ model. But when I’m trying to add new user through this model in admin page, the URL is not redirecting to successful page, instead its stopped on ‘admin/auth/user/add/? _popup=1’ this URL. (user

Re: Problem loading admin static files

2011-07-11 Thread Shawn Milochik
It looks like you put STATIC_ROOT in your templates where you should have used STATIC_URL. -- 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

Problem loading admin static files

2011-07-11 Thread mf
I'm trying to upload my project to the production server but it fails to load the admin static files. settings.py: import os PROJECT_DIR = os.path.dirname(__file__) MEDIA_ROOT = os.path.join(PROJECT_DIR, 'media') MEDIA_URL = '/media/' STATIC_ROOT =

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

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

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

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

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

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

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

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 >

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-09 Thread urukay
I purge it? I >> 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

Re: Problem with admin after moving to another machine

2009-07-09 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

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

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

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

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

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

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

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

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.

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

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

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: Model inheritance problem in admin

2008-07-14 Thread David
Thanks, Malcolm. It was great to see inheritance in the first place, and we'll just wait for newforms-admin to use an admin interface to it. On Jul 14, 5:51 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2008-07-14 at 14:46 -0700, David wrote: > > When I save objects from the admin

Re: Model inheritance problem in admin

2008-07-14 Thread Malcolm Tredinnick
On Mon, 2008-07-14 at 14:46 -0700, David wrote: > When I save objects from the admin pages, I get COPIES of what I'm > saving. When I save them through the API, I don't get the duplicates. > I'd like to know if I'm doing something wrong or misunderstanding > something. You're assuming that

RE: Problem with admin (urls)

2008-06-09 Thread Fred Reillier
4c87b 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 Objet : Re: Problem with adm

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 * > >

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/',

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

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

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

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

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

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

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

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

Re: problem whit admin login

2006-09-27 Thread Kenneth Gonsalves
On 27-Sep-06, at 7:24 PM, Marco Amato wrote: > $ django-admin.py createsuperuser name [EMAIL PROTECTED] you cant have '@' in the user name -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this

Re: problem whit admin login

2006-09-27 Thread [EMAIL PROTECTED]
I think it asks you if you want to create a superuser if you type - manage.py syncdb --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: problem whit admin login

2006-09-27 Thread Marco Amato
nope - it is what you gave when you did createsuperuser - you *did*create the superuser? No, I doest find the createsuperuser comand ..$ django-admin.py createsuperuser name [EMAIL PROTECTED] passwordError: Your action, 'createsuperuser', was invalid. Run "/usr/bin/django-admin.py --help" for

Re: problem whit admin login

2006-09-27 Thread Kenneth Gonsalves
On 27-Sep-06, at 6:36 PM, Marco Amato wrote: > The password and the user is tha same of the mysql databases, right ? nope - it is what you gave when you did createsuperuser - you *did* create the superuser? -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/

problem whit admin login

2006-09-27 Thread Marco Amato
HI !I am a newbie , my roblem is that I can login in the admin panel http://127.0.0.1:8000/admin/The password  and the user is tha same of the mysql databases, right ? The same  that in setting.py are DATABASE_USER and DATABASE_PASSWORD !Thanks and sorry for the stupid question Bye

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

Re: Foreignkey problem in admin interface

2006-06-13 Thread patrickk
maybe this helps: http://www.djangoproject.com/documentation/model_api/#blank patrick Am 13.06.2006 um 15:54 schrieb Nagy Károly: > > I have a tree model data and a foreign key is defined with a > null=True. > Generated db table is correct (field is NULL instead of NOT NULL), but > in the

Foreignkey problem in admin interface

2006-06-13 Thread Nagy Károly
I have a tree model data and a foreign key is defined with a null=True. Generated db table is correct (field is NULL instead of NOT NULL), but in the admin interface i cannot add an object with empty parent. (With not null parent it works.) And obviously i cannot add first one at all. What was i

Re: Problem in Admin section, in shell works great

2005-12-24 Thread Burhan
Aye, this was it. Still very green with Python. Thanks for making Django. Its forcing me to learn Python, which is turning out to be not-such-a-bad idea :)

Re: Problem in Admin section, in shell works great

2005-12-21 Thread Robert Wittams
Burhan wrote: > class META: > admin = meta.Admin( > list_display=('name','price'), > list_filter=('price'), This list_filter value is not a tuple. It is just a string in brackets. This means that we iterate

Re: Problem in Admin section, in shell works great

2005-12-21 Thread Adrian Holovaty
On 12/21/05, Burhan <[EMAIL PROTECTED]> wrote: > Any idea? I suspect its the 'name' and that this is a reserved name > in Django. Is there a list of such things? I have run into this > problem before (while naming my app admin). Hmmm, no, "name" certainly isn't a reserved name. It must be