Re: django - admin error

2020-08-21 Thread RANGA BHARATH JINKA
Try using virtual environment On Fri, 21 Aug 2020, 6:59 pm sapna Choudhary, wrote: > run command line django-admin ,you will see list of commands to run > > On Thu, Aug 20, 2020 at 6:47 PM company <2071...@hansung.ac.kr> wrote: > >> Hi, Django users. >> I started to learn programming this year

Re: django - admin error

2020-08-21 Thread sapna Choudhary
run command line django-admin ,you will see list of commands to run On Thu, Aug 20, 2020 at 6:47 PM company <2071...@hansung.ac.kr> wrote: > Hi, Django users. > I started to learn programming this year and joined to make new homepage > for my programming club. So I want to know how to solve this

Re: django - admin error

2020-08-20 Thread Ogunsanya Opeyemi
You are to call djando-admin as a module in python by running "python -m django-admin startproject mysite" On Thursday, August 20, 2020, company <2071...@hansung.ac.kr> wrote: > Hi, Django users. > I started to learn programming this year and joined to make new homepage > for my programming club

Re: django-admin error

2019-08-19 Thread Naty Mina
that's exactly what i tried to do but it doesn't work בתאריך יום ראשון, 18 באוגוסט 2019 בשעה 00:38:55 UTC+3, מאת Muhammad Nadeem: > > FIRST U NEED TO START A NEW PROJECT USING FOLLOWING CODE: > django-admin startproject mysite > WHERE "mysite" is the name of your project. you can

Re: django-admin error

2019-08-18 Thread DPM
Hi, Kindly do whatever some told to add in admin.py file above. Thats correct. After that u can see in admin panel .. And for heroku what error you are getting plz share screenshot. I can help you. On Mon, 19 Aug, 2019, 2:36 AM Gil Obradors, wrote: > 1.-Plese detail more : "But it not run" ?

Re: django-admin error

2019-08-18 Thread Gil Obradors
1.-Plese detail more : "But it not run" ? Any error? Admin screen withous the model? You can try doing with the same with decorator and class: from django.contrib import admin @admin.register(Pacientes) class PacientesAdmin(admin.ModelAdmin) pass Share errors, screen, behaveour... 2.- I

Re: django-admin error

2019-08-18 Thread Gabriel Araya Garcia
Hi Daniel: I have build a little app in Django, but i have two problems: 1) I can not see the tables in ADMIN, but nevertheless y put in admin.py: from .models import Pacientes admin.site.register(Pacientes) But it not run. 2) I can not upload my project to HEROKU, I've follow all the steps for t

Re: django-admin error

2019-08-18 Thread Mituka Devlin Bwanausi
I recommend this: https://www.udemy.com/the-ultimate-beginners-guide-to-django-django-2-python-web-dev-website/ Django 2.2 & Python | The Ulitmate Web Development Bootcamp. Good lectures and easy to grasp as you will also get through a python refresher before you get right into Django. On Sun

Re: django-admin error

2019-08-18 Thread Mituka Devlin Bwanausi
Type it all in one line.like this "*django-admin startproject mysite*" Your screen shot shows you trying to do things separately. On Saturday, August 17, 2019 at 10:33:43 PM UTC+2, Naty Mina wrote: > > hi, i'm new in django and trying to create my first project > i followed the documentation

Re: django-admin error

2019-08-18 Thread Arjun Reddy
> > Hi > I would like to start learning Django and can anyone suggest tutorial is best for beginners. -- 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-user

Re: django-admin error

2019-08-17 Thread Ronit Mishra
You've installed your django correctly. I can see the version in your snapshot. Also I think you're trying to call django-admin from a python shell. Just write the command 'django-admin startproject mysite' on the terminal/command prompt. This should do it. On Sun, Aug 18, 2019 at 4:08 AM Danie

Re: django-admin error

2019-08-17 Thread Daniel Agbaji
Please check to see it you got install Django properly with the version of Python you are using. On Sat, Aug 17, 2019, 4:38 PM Muhammad Nadeem wrote: > FIRST U NEED TO START A NEW PROJECT USING FOLLOWING CODE: > django-admin startproject mysite > WHERE "mysite" is the name of your project. you c

Re: django-admin error

2019-08-17 Thread Muhammad Nadeem
FIRST U NEED TO START A NEW PROJECT USING FOLLOWING CODE: django-admin startproject mysite WHERE "mysite" is the name of your project. you can change this name as you desired. if further u have any error fell free ping me On Sun, Aug 18, 2019 at 1:32 AM Naty Mina wrote: > hi, i'm new in djang

django-admin error

2019-08-17 Thread Naty Mina
hi, i'm new in django and trying to create my first project i followed the documentation and when i try to execute the django-admin startproject mysite i get error that 'no django settings specified' and to try 'django-admin.py help' instead for usage. the problem is when i try to do so, i get a

Re: Django Admin Error: pop-up entry form

2013-11-20 Thread Derek
Solved. You need to add "u" to the unicode representation of your model's record. As in: def __unicode__(self): return u'%s' % self.fieldname This "error" does not show up in the normal admin page for the model, only when its accessed via the pop-up route. On Tuesday, 19 November

Django Admin Error: pop-up entry form

2013-11-19 Thread Derek
Hi I am using Django 1.5.5. This error happens while running the dev server. If I click on the "+" button so I can use the pop-up form to add a new entry to a drop-down list (i.e. FK to another model), I get the following error trace when trying to save that form. File "/home/derek/.virtualenvs/

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Wissal Khadrouf WBC
I went the hard way and changed all the null values untill I found out which one caused a problem Thanks 2013/4/24 Shawn Milochik > Ah, I missed that point. You could temporarily create an __init__ override > in your model and put the code there. > > -- > You received this message because you a

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Shawn Milochik
Ah, I missed that point. You could temporarily create an __init__ override in your model and put the code there. -- 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

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Wissal Khadrouf WBC
it's the admin view you're telling me to modify I'm sorry I'm faily new to django and I'm afraid I will do something wrong! 2013/4/24 Shawn Milochik > See what I said above about iterating through the fields in your view. Use > logging, print statements, or dump output to a file. > > > On Wed,

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Shawn Milochik
See what I said above about iterating through the fields in your view. Use logging, print statements, or dump output to a file. On Wed, Apr 24, 2013 at 10:39 AM, Wissal Khadrouf WBC < wissal.khadr...@wbc.ma> wrote: > That's what I was thinking,it's from the data > But I dont know wich field and

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Wissal Khadrouf WBC
That's what I was thinking,it's from the data But I dont know wich field and how to find out 2013/4/24 Shawn Milochik > Try iterating through your output in the view and look at field, > field.content, and if field.help_text. Somewhere you have a null value > which is None in Python. > > Since

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Shawn Milochik
Try iterating through your output in the view and look at field, field.content, and if field.help_text. Somewhere you have a null value which is None in Python. Since the traceback you posted (if it's complete) is all from Django's code and not yours, then the error must be in your data. -- You

Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread slim
Hello everyone, I have this error since a long time but can't figure it out : *Caught TypeError while rendering: coercing to Unicode: need string or buffer, NoneType found* It happens in admin when I try to add or modify on one of my models (display works fine) This is the model: class

Re: Custom model field and Django-admin -- error

2009-08-10 Thread BenW
Excellent that it was reported, but bad that it's not considered a 'bug' -- Any suggestions on how to use date_hierarchy (and probably others) with my field? On Aug 10, 8:04 am, Alex Gaynor wrote: > On Mon, Aug 10, 2009 at 8:45 AM, BenW wrote: > > > Hello, > > > I'm working with a legacy databas

Re: Custom model field and Django-admin -- error

2009-08-10 Thread Jean Stebens
Alex Gaynor wrote: > On Mon, Aug 10, 2009 at 8:45 AM, BenW wrote: > >> Hello, >> >> I'm working with a legacy database that stores datetimes as unsigned >> ints. Rather than do the conversion with properties on the model I've >> written a custom Field 'UnixDateTimeField': >> >> class UnixDateT

Re: Custom model field and Django-admin -- error

2009-08-10 Thread Alex Gaynor
On Mon, Aug 10, 2009 at 8:45 AM, BenW wrote: > > Hello, > > I'm working with a legacy database that stores datetimes as unsigned > ints.  Rather than do the conversion with properties on the model I've > written a custom Field 'UnixDateTimeField': > > class UnixDateTimeField(models.DateTimeField):

Custom model field and Django-admin -- error

2009-08-10 Thread BenW
Hello, I'm working with a legacy database that stores datetimes as unsigned ints. Rather than do the conversion with properties on the model I've written a custom Field 'UnixDateTimeField': class UnixDateTimeField(models.DateTimeField): __metaclass__ = models.SubfieldBase def get_inte

Re: django-admin error

2008-04-30 Thread [EMAIL PROTECTED]
I know this may sound dumb but are you actually on the correct drive to be issuing that command? Also are you using the svn or .96. Not that it matters I am just curious. On Apr 30, 9:57 am, curt <[EMAIL PROTECTED]> wrote: > I've completed the install of python and django and I'm trying to run

django-admin error

2008-04-30 Thread curt
I've completed the install of python and django and I'm trying to run django-admin to start the first project in the tutorial. When I enter the command: django-admin.py startproject mysite I get the following response: Type 'django-admin.py help' for usage. What am I doing wrong? Thanks... -

Re: Django admin Error at /admin/auth/user/1/?

2008-04-05 Thread Sky
I think I solved this problem after I upgrade my python version from 2.3 to 2.5. before I used python2.3 on Dreamhost, /admin/auth/user/1/ raise a http404 exception thanks! On Apr 6, 7:31 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sat, Apr 5, 2008 at 1:43 AM, Sky <[EMAIL PROTECTED]> wrote

Re: Django admin Error at /admin/auth/user/1/?

2008-04-05 Thread Karen Tracey
On Sat, Apr 5, 2008 at 1:43 AM, Sky <[EMAIL PROTECTED]> wrote: > > my site is hosted by Dreamhost, Dreamhost can use DATABASE_ENGINE = > 'mysql_old' for djngo, my django admin panel broken at /admin/auth/ > user/1/ , but /admin/auth/user/1/password/ is fine > and on my local compute I used DATABA

Django admin Error at /admin/auth/user/1/?

2008-04-04 Thread Sky
my site is hosted by Dreamhost, Dreamhost can use DATABASE_ENGINE = 'mysql_old' for djngo, my django admin panel broken at /admin/auth/ user/1/ , but /admin/auth/user/1/password/ is fine and on my local compute I used DATABASE_ENGINE = 'mysql' are works fine, why?? My django version is the newest

Re: Django admin error?

2008-02-25 Thread nwgadgetguy
FYI: The 'max_digits' specifies the field size, the 'decimal_places' specifies where to place the decimal point within the field. ;o) Have a nice day, and Happy Programming! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

Re: Django admin error?

2008-02-25 Thread PB
That was it. Cheers! On Feb 24, 3:10 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > On Sat, 2008-02-23 at 06:42 -0800, PB wrote: > > > When trying to add 46.229253 to a floatfield > > > I get displayed error: > > > > Please enter a valid decimal number with a whole part of at most -19 > > > di

Re: Django admin error?

2008-02-24 Thread Karen Tracey
> On Sat, 2008-02-23 at 06:42 -0800, PB wrote: > > When trying to add 46.229253 to a floatfield > > I get displayed error: > > > Please enter a valid decimal number with a whole part of at most -19 > > digits > > > Any ideas? On Sun, Feb 24, 2008 at 9:04 AM, PB <[EMAIL PROTECTED]> wrote: > > Hi,

Re: Django admin error?

2008-02-24 Thread PB
Hi, I'm using Django 0.96. The model has the lines: latitude = models.FloatField(null=True, max_digits=12, decimal_places=31, blank=True) longitude = models.FloatField(null=True, max_digits=12, decimal_places=31, blank=True) Then when trying to use the admin tool it throws the above error.

Re: Django admin error?

2008-02-23 Thread Malcolm Tredinnick
On Sat, 2008-02-23 at 06:42 -0800, PB wrote: > When trying to add 46.229253 to a floatfield > I get displayed error: > > Please enter a valid decimal number with a whole part of at most -19 > digits > > Any ideas? What happens when you do enter a float with negative nineteen (or fewer) digits?

Django admin error?

2008-02-23 Thread PB
When trying to add 46.229253 to a floatfield I get displayed error: Please enter a valid decimal number with a whole part of at most -19 digits Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django user