Cc cc cc cc
On 5 May 2021, 17:36 +0300, Serge Alard , wrote:
> Hello
>
> I should like to do personalised validation in Django administration but I
> have always the same error :
> type object 'MainForm' has no attribute '_meta'
>
> To do so, I
Hello
I should like to do personalised validation in Django administration but I
have always the same error :
type object 'MainForm' has no attribute '_meta'
To do so, I use the following admin.py (attached file)
Thanks in advance to anybody who could me unblocked.
delForm, mais je ne sais pas comment accéder à l'objet id en cours de
>
>modification dans l'administration de Django.
>Pourriez-vous m'aider. Merci d'avance.
>
>
>Hello
>
>Currently I do customized validations on objects of my project in the
>Django admi
ourriez-vous m'aider. Merci d'avance.
Hello
Currently I do customized validations on objects of my project in the
Django administration. For that, I created a ModelForm but I do not know
how to get the object id currently in modification in Django administration.
Could you help me. T
Hi do you hire contract based python/django freelancer?
I can help you in this and related tasks
Best Regards,
Divyesh Khamele
On Sun, 11 Oct 2020, 9:59 pm Let's Get Going, wrote:
> Hi everyone. I have created a Django chat app for testing. Two days ago it
> was working fine. But from yesterday
Hi everyone. I have created a Django chat app for testing. Two days ago it
was working fine. But from yesterday it is not working as expected. I don't
know where the mistake is.
Can anyone help me with that please?
I am pasting form, models,signup html page and views code.
or if anyone want to help
further to my previous comments please share the your related model code to
make discussion interesting...
On Sunday, September 20, 2020 at 11:35:05 AM UTC-4 Lightning Bit wrote:
> Hi all,
>
> I am trying to figure out how to add "Customers" using code. Please look
> at the administration layo
do want to add the picture file to the customer application or want to see
the picture in admin?
On Sunday, September 20, 2020 at 11:35:05 AM UTC-4 Lightning Bit wrote:
> Hi all,
>
> I am trying to figure out how to add "Customers" using code. Please look
> at the administration layout:
>
> [
Hi all,
I am trying to figure out how to add "Customers" using code. Please look at
the administration layout:
[image: HELP.png]
I was able to add to "Groups" using the following code in "views.py":
*@unauthenticated_user*
*def registerPage(request):*
*form = CreateUserForm()*
RESOLVED. I managed to fix it.
The problem .. Was so obvious. In *views.py* I did not provide the*
cart.html *and *checkout.html* with the same configurations as *store.html*.
Thus, this caused the 500 server errors. I hope that this thread can help
anyone in the future that encounters a similar p
Hi Kasper,
I am getting the following error:
raise TemplateDoesNotExist(template_name, chain=chain)
django.template.exceptions.TemplateDoesNotExist: ./store/cart.html
How can the template not exist if the other templates exist? Lol, it seems
impossible.
On Thu, Sep 3, 2020 at 8:31 AM Kasper La
Hi King Niko,
On 03/09/2020 13.44, King Niko wrote:
Okay, so I fixed everything with Django Logging- including getting the
pictures to show up in the store.
What's written in the Django logs when you get the 500 errors?
Kind regards,
Kasper Laudrup
--
You received this message because you
Okay, so I fixed everything with Django Logging- including getting the
pictures to show up in the store.
However, one thing still remains - recognizing the *store/cart.html* and
*store/checkout.html*
To get the pictures to appear from the DJANGO ADMINISTRATION, I used the
following
Hi King Niko,
On 02/09/2020 17.46, King Niko wrote:
*I have not managed to get the Django log up and running, but this may
help to get guidance on resolving the issue:*
You should get access to the Django log. It's pointless to waste time on
guessing what might be wrong when you could have
King Niko,
>
> On 01/09/2020 07.43, King Niko wrote:
> > The console does not seem to provide much information. It is simply
> > stating that there is a 500 Server Error. I tried sifting for more
> > details but there were none.
> >
>
> The console in your bro
es /that derive from the DJANGO ADMINISTRATION page.
That sounds a lot more useful, but are you really sure you're seeing the
logs from Django and not just the web server forwarding requests to your
Django application?
You need to get the logs from your actual Django application to see the
hat derive from the DJANGO ADMINISTRATION page. Strangely, all of
the other pages and pictures on the website works. It is rather confusing
to see only the store section of the site encountering this bug.
On Tue, Sep 1, 2020 at 12:45 AM RANGA BHARATH JINKA <
bharathjink...@gmail.com> wrote:
>
blank with the no file icon in the top left. This
>>> was not the case back in the testing environment.
>>>
>>> Why would this occur only upon publishing the website? It does not seem
>>> to be registering the images from DJANGO ADMINISTRATION. Also, when I c
g to the website, I am unable to actually "see"
>> the pictures - they are blank with the no file icon in the top left. This
>> was not the case back in the testing environment.
>>
>> Why would this occur only upon publishing the website? It does not seem
>>
te, I am unable to actually "see"
> the pictures - they are blank with the no file icon in the top left. This
> was not the case back in the testing environment.
>
> Why would this occur only upon publishing the website? It does not seem to
> be registering the images from DJA
nvironment.
Why would this occur only upon publishing the website? It does not seem to
be registering the images from DJANGO ADMINISTRATION. Also, when I click
my cart icon after adding one of the non-image showing items, I receive an
error 500 stating that the cart.html and only the
Sent from RediffmailNG on Android
From: ansh srivastav
Sent: Sat, 7 Apr 2018 21:49:20 GMT+0530
To: django-users@googlegroups.com
Subject: Re: A first time programmer
First check the version of python, then type :django-admin startproject
projectname.
On 7 Apr 2
On Sun, Apr 19, 2015 at 7:21 AM, Bernd Wechner
wrote:
> I'm just playing around with Django and have cut a simple model and all is
> working fine. The Django administration tool works a charm, and I can move
> onto some views and forms. But what puzzles me immensely is why edi
On 4/19/15 4:21 AM, Bernd Wechner wrote:
I'm just playing around with Django and have cut a simple model and
all is working fine. The Django administration tool works a charm, and
I can move onto some views and forms. But what puzzles me immensely is
why editing a tuple looks like this
I'm just playing around with Django and have cut a simple model and all is
working fine. The Django administration tool works a charm, and I can move
onto some views and forms. But what puzzles me immensely is why editing a
tuple looks like this (with crazy label wrap). Can I fix this an
You're welcome, Oliver :-)
Regards,
Sithu
On Wed, Jun 5, 2013 at 6:51 PM, Oliver Hilmarsson <
oliver.hilmars...@gmail.com> wrote:
> Thanks, Sithu, I didn´t uncomment the lines in urls.py. It´s working now
> :o)
>
> Regards,
> Óliver
>
>
> On Wednesday, June 5, 2013 11:47:49 AM UTC, Oliver Hilm
Thanks, Sithu, I didn´t uncomment the lines in urls.py. It´s working now
:o)
Regards,
Óliver
On Wednesday, June 5, 2013 11:47:49 AM UTC, Oliver Hilmarsson wrote:
>
> I´m finished part 1 in django tutorial
> https://docs.djangoproject.com/en/dev/intro/tutorial01/
>
> Everything worked great, b
Hi Oliver,
please provide more information. Did you follow all steps, such as: add
your app/s to INSTALLED_APPS in your settings file, run the manage.py
syncdb command, create an admin.py file where you register your model/s,
comment out the lines that activate your admin site in urls.py?
On Wed
I´m finished part 1 in django
tutorial https://docs.djangoproject.com/en/dev/intro/tutorial01/
Everything worked great, but starting in part 2 I can´t get the admin page
to show up. I always just get the initial "It worked! Congratulations on
your first Django-powered page" page when I go
to
On Fri, 2012-03-09 at 03:42 -0800, Stone wrote:
> W/o authentication web page will be only in read only state.
without authentication he sees nothing.
--
regards
Kenneth Gonsalves
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
ote:
> > I have developed some web pages and I have never used Django
> > administration?
> > Is there any control for controlling access of users?
>
> https://docs.djangoproject.com/en/dev/ref/contrib/admin/
>
> search for has_change_permission
> --
> regards
>
On Thu, 2012-03-08 at 12:44 -0800, Stone wrote:
> I have developed some web pages and I have never used Django
> administration?
> Is there any control for controlling access of users?
>
>
https://docs.djangoproject.com/en/dev/ref/contrib/admin/
search for has_change_permiss
On 03/08/2012 03:44 PM, Stone wrote:
Dear users,
I have developed some web pages and I have never used Django
administration?
Is there any control for controlling access of users?
Do you have any examples?
Thank you
Petr
https://docs.djangoproject.com/en/1.3/topics/auth/#permissions
Dear users,
I have developed some web pages and I have never used Django
administration?
Is there any control for controlling access of users?
Do you have any examples?
Thank you
Petr
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
ost at the end of the tutorial part 2 but I can't manage to
> > change "Django administration" to something different. What I did:
> > - create a template/admin subdirectory into the folder containing all
> > the files related to mysite (it looks like this; C:/Users/s
On Tue, Nov 8, 2011 at 4:46 PM, Nicolas wrote:
> Dear all,
> I'm almost at the end of the tutorial part 2 but I can't manage to
> change "Django administration" to something different. What I did:
> - create a template/admin subdirectory into the folder conta
Dear all,
I'm almost at the end of the tutorial part 2 but I can't manage to
change "Django administration" to something different. What I did:
- create a template/admin subdirectory into the folder containing all
the files related to mysite (it looks like this; C:/Users/songbi
Thank you for your answers. I'll go read the docs then. ;)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr..
> Hello,
>
> I have created a new Site in my "Django administration" page. How can I use
> it now? If I visit the URL that this newly created Site points to, I get a
> URLconf error. So what do I need to add to my project's urls.py file? A
> newbie here. Pl
On 2011-05-06, at 5:25 PM, Boštjan Mejak wrote:
> I have created a new Site in my "Django administration" page. How can I use
> it now? If I visit the URL that this newly created Site points to, I get a
> URLconf error. So what do I need to add to my project's urls.p
Hello,
I have created a new Site in my "Django administration" page. How can I use
it now? If I visit the URL that this newly created Site points to, I get a
URLconf error. So what do I need to add to my project's urls.py file? A
newbie here. Please help me on this. Thanks.
--
Yo
Thanks for the help!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options,
On Saturday, February 19, 2011 3:04:27 PM UTC, NewNumOrder wrote:
>
> I've tried enabling 'allow_tags' for a TextField, but the admin tools
> still encode the text when inserting or updating rows.
>
> Is the following code correct?
> some_field = models.TextField()
> some_field.allow_tags = Tr
I've tried enabling 'allow_tags' for a TextField, but the admin tools
still encode the text when inserting or updating rows.
Is the following code correct?
some_field = models.TextField()
some_field.allow_tags = True
I can't even edit the HTML with phpPgAdmin because it does the same
thing, so I'
try this out
http://docs.djangoproject.com/en/dev/intro/tutorial02/#customize-the-admin-look-and-feel
On Dec 6, 12:21 pm, x_marine wrote:
> Hi all,
>
> I have been using Django for a client. The client want the word "
> Django Administration " to be change to &qu
On 6 December 2010 11:21, x_marine wrote:
> Hi all,
>
> I have been using Django for a client. The client want the word "
> Django Administration " to be change to " Amazonia Administration"
>
>
> Where do I find the html files and how do I change them?
Hi all,
I have been using Django for a client. The client want the word "
Django Administration " to be change to " Amazonia Administration"
Where do I find the html files and how do I change them?
thanks
--
You received this message because you are subscribed to the Go
class Meta:
verbose_name = 'new special name'
see: http://docs.djangoproject.com/en/dev/ref/models/options/#verbose-name
On Jan 26, 5:21 am, Zygmunt wrote:
> How to set new special name for model in "Django Admin Site"?
--
You received this message because you are subscribed to the Google
On Jan 26, 10:21 am, Zygmunt wrote:
> How to set new special name for model in "Django Admin Site"?
Er, read the "documentation"?
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#s-verbose-name
--
DR.
--
You received this message because you are subscribed to the Google Groups
"Django u
How to set new special name for model in "Django Admin Site"?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubsc
ent i am here:
> http://www.djangoproject.com/documentation/0.96/tutorial02/#explore-t...
> >
> > My poblem is:
> > when i log in to the Django Administration und try to edit the polls
> > everthing works
> > fine except that the calender button, the today link, the clock
, lenz <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i am very new to django and following the tutorial from the django
> docs.
> At the moment i am
> here:http://www.djangoproject.com/documentation/0.96/tutorial02/#explore-t...
>
> My poblem is:
> when i log in to the Django A
Hi,
i am very new to django and following the tutorial from the django
docs.
At the moment i am here:
http://www.djangoproject.com/documentation/0.96/tutorial02/#explore-the-free-admin-functionality
My poblem is:
when i log in to the Django Administration und try to edit the polls
everthing
You use "Self" instead of "self" in the param line, was that just a
cut-n-paste error?
-Bill
On Jan 15, 2008, at 10:41 PM, [EMAIL PROTECTED] wrote:
Hi all,
I am about to writing the django unittest, so I need to login to the
django admin page to test my unittest. I send the POST request to
Hi all,
I am about to writing the django unittest, so I need to login to the
django admin page to test my unittest. I send the POST request to /
admin/ by using the admin account(username/password). Then the
response from the admin page return like the password/username are
invalid. can't login.
On Jan 7, 2008 12:40 AM, Mikey3D <[EMAIL PROTECTED]> wrote:
>
> Thank you so much it works. :-) One question, why is that I have Auth
> and Sites are showing up when my "class Admin: pass" were wrong way of
> coding still works?
>
Because these are different apps? and they have their Admin inner
The book is online if you want to copy/paste code:
http://www.djangobook.com/en/1.0/chapter06/
Good luck and no problem.
On Jan 6, 6:40 pm, Mikey3D <[EMAIL PROTECTED]> wrote:
> Hi Elgringo,
>
> Thank you so much it works. :-) One question, why is that I have Auth
> and Sites are showing up whe
Hi Elgringo,
Thank you so much it works. :-) One question, why is that I have Auth
and Sites are showing up when my "class Admin: pass" were wrong way of
coding still works?
Hi Ramiro, I wasn't sure what you mean by copy/paste error and inner
class but Elgringo clearly what you were saying. Than
Like Ramiro says. It's an indentation issue.
Your nested class Admin: pass statement needs to be one and only one
level of indentation below the top class declaration for each class
that you're defining:
class Publisher(model.Model):
...
class Admin: pass
class Foo(model.Model):
On Jan 6, 2008 5:10 PM, Mikey3D <[EMAIL PROTECTED]> wrote:
> [...]
> from django.db import models
>
> class Publisher(models.Model):
> name = models.CharField(max_length=30)
> address = models.CharField(max_length=50)
> city = models.CharField(max_length=60)
> state_province = mode
Hi goober,
I have done your suggestions before or I won't be able to create a
superuser, right? I could login and there is no Ch6 but only Auth and
Sites in Admin Interface. So I try again your suggestions:
In command:
python manage.py sql books "OR" python manage.py sqlall books > the
same dif
wrote:
> Hi, I'm reading thoroughly the new django book and on page 86, the
> figure 6-2, why didn't the Django Administration Site showing Ch6
> except only Auth and Sites showing? I have trying all morning to
> figure it out but can't.
>
> Here are my files:
&
Hi, I'm reading thoroughly the new django book and on page 86, the
figure 6-2, why didn't the Django Administration Site showing Ch6
except only Auth and Sites showing? I have trying all morning to
figure it out but can't.
Here are my files:
# Django settings for mysite project
Thanks alot. I can find it. another thing, as you can see in tables
all records treted like object, do you think iut has a way to change
this? for example when click to one table, primary keys of it sorted.
On May 13, 11:47 am, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote:
> On Sun, May 13, 2007
On Sun, May 13, 2007 at 12:18:22AM -0700, samira wrote:
> I don't congifured it, how I can do this?
> the error message is this"Not Found
> The requested document was not found on this server."
Are you using the apache web server?
http://www.djangoproject.com/documentation/modpython/ may be helpf
I don't congifured it, how I can do this?
the error message is this"Not Found
The requested document was not found on this server."
On May 13, 10:14 am, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote:
> Hello samira,
>
> On Sun, May 13, 2007 at 12:03:13AM -0700, samira wrote:
> > I want to use Adj
I don't congifured it, how I can do this?
the error message is this"Not Found
The requested document was not found on this server."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
I don't congifured it, how I can do this?
the error message is this"Not Found
The requested document was not found on this server."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
I don't congifured it, how I can do this?
the error message is this"Not Found
The requested document was not found on this server."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
Hello samira,
On Sun, May 13, 2007 at 12:03:13AM -0700, samira wrote:
> I want to use Adjango administrator. that is correct in my local, I
> access to it throw this address: http://127.0.0.1:8000/admin/. but I
> don't know how I can accees in my domain?
Which web server are you using? Have you
Hello All,
I want to use Adjango administrator. that is correct in my local, I
access to it throw this address: http://127.0.0.1:8000/admin/. but I
don't know how I can accees in my domain? I put my domain Ip instead
od localhost Ip, but it is not work :( could anybody help me?
--~--~-~-
71 matches
Mail list logo