Re: Django Admin does not use `get_FOO_display`

2023-04-05 Thread Opeoluwa Fatunmbi
The reason why your overridden get_status_display method is not being applied in the Django admin is because the admin's display_for_field function uses the flatchoices attribute of the field to retrieve the display value of the field's current value. The flatchoices attribute is a list of

Re: Django Admin

2023-03-24 Thread Jd Mehra
- Clear the browser cache and cookies and then try to log in again. Sometimes an old CSRF token can be stored in the browser cache and can cause issues. - On Friday, 24 March 2023 at 07:50:37 UTC+5:30 Ikrombek wrote: > > Hello, > How can I use dental teeth section. For example, do I need

Re: Django Admin

2023-03-23 Thread Ikrombek
Hello, How can I use dental teeth section. For example, do I need to include 32 fields from the model to specify 32 teeth, or is there a way to do it in one? On Tuesday, March 14, 2023 at 5:39:27 AM UTC+5 Muhammad Juwaini Abdul Rahman wrote: > In my previous case, I only use this: > >

Re: Django Admin

2023-03-13 Thread Muhammad Juwaini Abdul Rahman
In my previous case, I only use this: CSRF_TRUSTED_ORIGINS = ['https://your site url',] On Tue, 14 Mar 2023 at 04:33, Prosper Lekia wrote: > This is how I deal with all csrf related issues. > > Make sure csrf MiddleWare is in your MiddleWare list > >

Re: Django Admin

2023-03-13 Thread Prosper Lekia
This is how I deal with all csrf related issues. Make sure csrf MiddleWare is in your MiddleWare list 'django.middleware.csrf.CsrfViewMiddleware' Add the settings below in your settings.py to prevent all csrf related issues CSRF_TRUSTED_ORIGINS = ['https://your site url',]

Re: Django Admin

2023-03-13 Thread Starnford Chirwa
Howzt bro On Sat, 11 Mar 2023, 22:48 Letlaka Tsotetsi, wrote: > Please share your code so we can be able to assist you > > On Sat, 11 Mar 2023 at 8:04 PM, James Hunt wrote: > >> Hi there. I am fairly new to Django but have had previous success with >> creating an app and being able to access

Re: Django Admin

2023-03-13 Thread Sandip Bhattacharya
> On Mar 13, 2023, at 5:14 AM, James Hunt wrote: > > I have yet to create a HTML page so I'm not sure that the inclusion of {% > csrf_token %} is required. I mean it's just the admin page I am trying to > access which is provided by Django and not a page created by me!!! > > I am very

Re: Django Admin

2023-03-13 Thread Paul Kudla
ok hope i am not adding to the confusion I ran into this a while back CSRF errors are usually (in my case anyways) triggered by apache SSL setup etc if you are running Apache + SSL you need to make sure the certificates and the SNI ssl naming is setup correctly or the CSRF errors will

Re: Django Admin

2023-03-13 Thread James Hunt
Hi there. I have yet to add a login/register page since I am only trying to access the admin page which is a part of the Django project setup. So in effect, there are no HTML pages setup and I cant access the Django admin page layout as this is an integral part of Django!!! This is the

Re: Django Admin

2023-03-13 Thread Andrew Romany
It's very simple you should add it in the login/register html page but inside the tag after & to be specific after this above line. On Mon, 13 Mar 2023, 11:15 a.m. James Hunt, wrote: > I have yet to create a HTML page so I'm not sure that the inclusion of {% > csrf_token %} is required. I

Re: Django Admin

2023-03-13 Thread James Hunt
I have yet to create a HTML page so I'm not sure that the inclusion of {% csrf_token %} is required. I mean it's just the admin page I am trying to access which is provided by Django and not a page created by me!!! I am very surprised there is no fix for this issue!!! I might need to abandon

Re: Django Admin

2023-03-12 Thread Mir Junaid
try including this line in your index.html or main HTML page {% csrf_token %} if it still doesn't work do include it in every html page On Sat, 11 Mar 2023 at 23:33, James Hunt wrote: > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to

Re: Django Admin

2023-03-12 Thread James Hunt
I did add this but no change!!! Just keep getting that CSRF token error when trying to access admin!! Which is strange as the CSRF token is predominantly for POST methods. # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = [] CSRF_TRUSTED_ORIGIN = (

Re: Django Admin

2023-03-12 Thread Muhammad Juwaini Abdul Rahman
Have you tried my suggestion? On Sun, 12 Mar 2023 at 20:32, James Hunt wrote: > I have literally set this up today just to prove that it happens for every > Django project setup!!! > > So this is my settings : > > > """ > Django settings for DjangoTest project. > > Generated by 'django-admin

Re: Django Admin

2023-03-12 Thread James Hunt
I have literally set this up today just to prove that it happens for every Django project setup!!! So this is my settings : """ Django settings for DjangoTest project. Generated by 'django-admin startproject' using Django 4.1.7. For more information on this file, see

Re: Django Admin

2023-03-12 Thread Muhammad Juwaini Abdul Rahman
I think you need to add the following in settings.py: CSRF_TRUSTED_ORIGIN = ('') On Sun, 12 Mar 2023 at 02:04, James Hunt wrote: > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to access the Admin page. > Recently, if I attempt to

Re: Django Admin

2023-03-11 Thread Letlaka Tsotetsi
Please share your code so we can be able to assist you On Sat, 11 Mar 2023 at 8:04 PM, James Hunt wrote: > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to access the Admin page. > Recently, if I attempt to access the admin page of a new

Re: Django Admin

2023-03-11 Thread Victor Matthew
Show your cold pleased On Sat, 11 Mar 2023, 7:04 pm James Hunt, wrote: > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to access the Admin page. > Recently, if I attempt to access the admin page of a new Django app it > throws the CSRF

Re: Django Admin

2023-03-11 Thread Obam Olohu
Hello there, you can send a meeting link, I’ll fix the issue for you Sent from my iPhone > On 11 Mar 2023, at 12:31 PM, James Hunt wrote: > > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to access the Admin page. > Recently, if I

Re: Django Admin

2023-03-11 Thread Balogun Awwal
Check out this link but are you using csrf token before accepting any input. https://stackoverflow.com/questions/3197321/csrf-error-in-django Sent from awwal > On 11 Mar 2023, at 7:04 PM, James Hunt wrote: > > Hi there. I am fairly new to Django but have had previous success with >

Re: DJANGO ADMIN SPECIFICATION

2022-09-11 Thread chahat kaur
Yes On Sun, Sep 11, 2022, 00:48 Dushime Mudahera Richard wrote: > yeah All u said can be done in short """CRUD > > > *Best Regards * > *Dushime Mudahera Richard* > *Google Crowdsource Influencer* > *GDSC Lead 2021-2022 Bugema University* > *Visit :* https://www.facebook.com/BSA256 > *Visit

Re: DJANGO ADMIN SPECIFICATION

2022-09-10 Thread Dushime Mudahera Richard
yeah All u said can be done in short """CRUD *Best Regards * *Dushime Mudahera Richard* *Google Crowdsource Influencer* *GDSC Lead 2021-2022 Bugema University* *Visit :* https://www.facebook.com/BSA256 *Visit me *: Community Learning MS Web dev and

Re: DJANGO ADMIN SPECIFICATION

2022-09-10 Thread 'Kasper Laudrup' via Django users
On 10/09/2022 03.24, nana kwame wrote: Please I would like to ask if Django admin can be used to update and delete and create webpages also. If you write the appropriate models and views then yes, it can. And also if it can be used to update information on the user side from the admin panel.

Re: django-admin startproject --template error

2022-08-08 Thread 'Kasper Laudrup' via Django users
On 08/08/2022 10.46, xu brandy wrote: WechatIMG75.png An error was reported using the GITLab repository to specify template creation projects And you expect everyone to be able to guess which Gitlab repository you're talking about? You even made an effort trying to hide it. But whatever

Re: django-admin-honeypot

2022-05-16 Thread Jeremy Lainé
A number of translation methods were deprecated in Django 3.0 (including ugettext_lazy) and remove in Django 4.0: https://docs.djangoproject.com/en/dev/releases/3.0/#deprecated-features-3-0 https://docs.djangoproject.com/en/dev/internals/deprecation/#deprecation-removed-in-4-0 The bottom line

Re: django-admin-autocomplete-filter

2022-02-09 Thread Kenedi Novriansyah
https://oldgamesdownload.com/file/53792-2/ On Wed, Feb 9, 2022 at 9:15 PM Kenedi Novriansyah < kenedinovrians...@gmail.com> wrote: > Battle Realms + Winter of the Wolf - GOG Games | Download Free GOG PC > Games (gog-games.com) > > >

Re: django-admin-autocomplete-filter

2022-02-09 Thread Kenedi Novriansyah
Battle Realms + Winter of the Wolf - GOG Games | Download Free GOG PC Games (gog-games.com) On Wed, Feb 9, 2022 at 9:08 PM Kenedi Novriansyah < kenedinovrians...@gmail.com> wrote: > https://www45.zippyshare.com/v/07OKwKG1/file.html >

Re: django-admin-autocomplete-filter

2022-02-09 Thread Kenedi Novriansyah
https://www45.zippyshare.com/v/07OKwKG1/file.html On Wed, Feb 9, 2022 at 9:06 PM DUSHYANT SINGH wrote: > Need updates from MERN > > On Wed, 9 Feb 2022, 19:21 Dilja E G, wrote: > >> How to add django-admin-autocomplete-filter ? in my django filtter? >> >> -- >> You received this message because

Re: django-admin-autocomplete-filter

2022-02-09 Thread DUSHYANT SINGH
Need updates from MERN On Wed, 9 Feb 2022, 19:21 Dilja E G, wrote: > How to add django-admin-autocomplete-filter ? in my django filtter? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving

Re: Django Admin Login

2021-11-09 Thread Aashish Kumar
Just make the path blank of admin.site.url in main urls.py file On Tue, 9 Nov 2021 at 11:38 PM, webmbackslash wrote: > Habdle it in urls.py file. > But are you sure you want all your site viewed in admin mode? > > Il mar 9 nov 2021, 15:21 Abhi Sharma ha scritto: > >> Hello, >> We have a Django

Re: Django Admin Login

2021-11-09 Thread webmbackslash
Habdle it in urls.py file. But are you sure you want all your site viewed in admin mode? Il mar 9 nov 2021, 15:21 Abhi Sharma ha scritto: > Hello, > We have a Django admin URL like https://abc.com/admin/, it's working fine > however we want to proxy with a domain for admin url like

Re: Django admin redirects behind nginx proxy subpath

2021-10-30 Thread Karthik Karthik
yaa On Saturday, 23 October 2021 at 04:44:10 UTC-7 268088...@gmail.com wrote: > I don't know but I'm interested in that > > 在2021年10月20日星期三 UTC+8 上午3:37:04 写道: > >> >> I am running a small django app with django admin. >> In fact, I only use django admin to edit a few models. >> >> It works fine

Re: Django admin redirects behind nginx proxy subpath

2021-10-23 Thread 银色配色
I don't know but I'm interested in that 在2021年10月20日星期三 UTC+8 上午3:37:04 写道: > > I am running a small django app with django admin. > In fact, I only use django admin to edit a few models. > > It works fine in local and behind a simple proxy reverse, but now I have > this kind a rewrite that

Re: django admin

2021-10-10 Thread David Nugent
Just a general note but *collectstatic* should not be required for Django development in localdev. Django will locate static files using STATICFILES_FINDERS when serving static is enabled (which normally is the case for localdev). It uses the same algorithm to do so as *collectstatic*. If you're

RE: django admin

2021-10-10 Thread Mike Dewhirst
Try manage.py collectstatic--(Unsigned mail from my phone) Original message From: Baraka Nzavi Date: 11/10/21 07:32 (GMT+10:00) To: Django users Subject: django admin hello guys...what leads to the admin interface misbehaving in that the styling does not show -- You

Re: django admin

2021-10-10 Thread Kasper Laudrup
On 10/10/2021 21.31, Baraka Nzavi wrote: hello guys...what leads to the admin interface misbehaving in that the styling does not show Most likely the stylesheets (.css files) are not available to the browser for some reason. Impossible to know what the reason for that might be unless you

Re: django-admin doesn't display choices and it's not possible to select one

2021-09-22 Thread bnmng
Fantastic! But now I wonder why it's not working on some of your browsers On Wednesday, September 22, 2021 at 4:18:14 AM UTC-4 nine...@gmail.com wrote: > Hi, > > Eureka!!! > Benjamin, you are right. I changed my browser and it worked. > > Thank for you advice. > > Best wishes, > Maria > > On

Re: django-admin doesn't display choices and it's not possible to select one

2021-09-22 Thread Mariangeles Mendoza
Hi, Eureka!!! Benjamin, you are right. I changed my browser and it worked. Thank for you advice. Best wishes, Maria On Tuesday, September 21, 2021 at 9:41:18 AM UTC+2 Mariangeles Mendoza wrote: > Thank you very much!!! > > I will try other browsers. I have used Firefox and Brave. > No, I am

Re: django-admin doesn't display choices and it's not possible to select one

2021-09-21 Thread Mariangeles Mendoza
Thank you very much!!! I will try other browsers. I have used Firefox and Brave. No, I am not using other custom widget. Thanks again, Maria On Monday, September 20, 2021 at 1:59:25 PM UTC+2 bnmng wrote: > Hi. I don't see anything in your code samples that would cause this. > One line in

Re: django-admin doesn't display choices and it's not possible to select one

2021-09-20 Thread bnmng
Hi. I don't see anything in your code samples that would cause this. One line in admin.py caused the server to stop because of the extra parenthesis, and the default for status should be 'r' instead of 'refereed', but those don't cause the problem you're describing. Maybe a browser issue?

Re: Django admin - how to change breadcrumbs 'Home' into 'Main menu'

2021-08-26 Thread Mike Dewhirst
On 27/08/2021 2:09 am, Nigel Copley wrote: although I think you'd have to override the breadcrumb block in each of the public facing admin templates, it doesn't look to be easily done and making a home setting it's probably overkill Overkill, underkill - looks like no other solution at the

Re: Django admin - how to change breadcrumbs 'Home' into 'Main menu'

2021-08-26 Thread Mike Dewhirst
On 27/08/2021 1:50 am, Cale Roco wrote: haven't tried it but you could potentially just override the "/admin/base.html" template in your templates directory That does change it but only at the top level admin:index page which shows all the apps Doesn't seem to be inherited by child pages.

Re: Django admin - how to change breadcrumbs 'Home' into 'Main menu'

2021-08-26 Thread Nigel Copley
although I think you'd have to override the breadcrumb block in each of the public facing admin templates, it doesn't look to be easily done and making a home setting it's probably overkill On Thursday, 26 August 2021 at 16:50:11 UTC+1 Nigel Copley wrote: > haven't tried it but you could

Re: Django admin - how to change breadcrumbs 'Home' into 'Main menu'

2021-08-26 Thread Cale Roco
haven't tried it but you could potentially just override the "/admin/base.html" template in your templates directory On Tuesday, 24 August 2021 at 02:02:14 UTC+1 Mike Dewhirst wrote: > We are using 'Home' in a different, more public, part of the site and > have to adjust that first item in the

Re: Django admin filters + select2 + loading many options asynchronously

2021-08-05 Thread Derek
Alternatively, there is : https://pypi.org/project/django-admin-autocomplete-filter/ (My own issue with that one s that does not necessarily match any custom styling, but that is probably not a problem for most.) On Friday, 6 August 2021 at 07:53:35 UTC+2 Derek wrote: > You mean like

Re: Django admin filters + select2 + loading many options asynchronously

2021-08-05 Thread Derek
You mean like https://pypi.org/project/django-autocomplete-light/ ? On Wednesday, 4 August 2021 at 20:45:16 UTC+2 Federico Capoano wrote: > Hi everyone, > > when adding adming filters by foreign key in the admin, sometimes the > possible values are too many to load. > > So I am thinking, why

Re: Django Admin: object history not working

2021-06-23 Thread Christian Ledermann
See https://stackoverflow.com/questions/987669/tying-in-to-django-admins-model-history for a better explanation and alternatives On Tue, 22 Jun 2021 at 18:59, Ryan Kite wrote: > > Thanks for the clarification, I didn't realize it only applied to changes > administered directly from the Django

Re: Django Admin: object history not working

2021-06-22 Thread Ryan Kite
Thanks for the clarification, I didn't realize it only applied to changes administered directly from the Django Admin. Was interested in learning about an objects' change history, but in this case, the changes were not performed from the Django Admin. On Tuesday, June 22, 2021 at 5:50:10 AM

Re: Django Admin: object history not working

2021-06-22 Thread Christian Ledermann
I am not sure what you are asking about. The history works out of the box, but only when you manipulate entries via the django admin. When you change the model instance through your own views, you have to explicitly create the log entry. On Tue, 22 Jun 2021 at 00:48, Ryan Kite wrote: > Hello, >

Re: django-admin makemessages --no-obsolete doesn't seem to be working

2021-04-06 Thread AlainWebDev
https://www.gnu.org/software/gettext/manual/gettext.html ‘--no-obsolete’ Remove obsolete #~ messages. Le lundi 19 mars 2018 à 14:43:06 UTC+1, Ramiro Morales a écrit : > On Sun, Mar 18, 2018 at 11:18 AM, Kishor Pawar wrote: > >> First of all, I am expecting `--no-obsolete` would comment out

Re: Django Admin, how to update select user field with my own queryset after adding new foreign object

2021-01-08 Thread Mike Dewhirst
On 9/01/2021 5:58 am, Héctor Alonso Lozada Echezuría wrote: Best regards I have a very simple warehouse model that is related to the contrib.auth.User model through the asigned_seller field which should only allow those users with the seller role class PersonalWarehouse(ProductsMixin,

Re: Django admin page redirecting to some another page

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

Re: Django admin page redirecting to some another page

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

Re: Django Admin

2020-09-09 Thread RANGA BHARATH JINKA
Hi, You can configure it. https://django-jazzmin.readthedocs.io/configuration/ All the best On Thu, Sep 10, 2020 at 2:38 AM Emmanuel Oppong Ntiamoah < ladamo...@gmail.com> wrote: > Thanks a lot. Please i have installed it and it’s working but i have these > challenges: > 1. How to

Re: Django Admin

2020-09-09 Thread Emmanuel Oppong Ntiamoah
Thanks a lot. Please i have installed it and it’s working but i have these challenges: 1. How to remove the Jazzmin version from the footer 2. I have a tabular inline which allows me to add more fields but it has removed the add more button. > > On 9 Sep 2020, at 4:24 PM, RANGA BHARATH JINKA

Re: Django Admin

2020-09-09 Thread yashwanth balanagu
awsome On Wed, Sep 9, 2020 at 9:54 PM RANGA BHARATH JINKA wrote: > Hi, > > Use this. > https://pypi.org/project/django-jazzmin/ > > All the best > > On Wed, Sep 9, 2020 at 9:47 PM lada...@gmail.com > wrote: > >> Hello friends, I am developing a system and i want to use bootstrap

Re: Django Admin

2020-09-09 Thread RANGA BHARATH JINKA
Hi, Use this. https://pypi.org/project/django-jazzmin/ All the best On Wed, Sep 9, 2020 at 9:47 PM lada...@gmail.com wrote: > Hello friends, I am developing a system and i want to use bootstrap admin > dashboard but i dont want to loose the features of django admin please how > do

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

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

Re: Django Admin: how to link to another model from one model list view ?

2020-06-29 Thread Olivier
I've found [1] which seems to match what I was after [1] https://avilpage.com/2017/11/django-tips-tricks-hyperlink-foreignkey-admin.html I hope this could also help others ... Le jeudi 25 juin 2020 10:07:15 UTC+2, Olivier a écrit : > > Hello, > > Let say your app deals with Book and Author

Re: Django Admin Custom View Query Generation

2020-04-27 Thread Derek
Hi I have not worked with visualising script progress before; you probably need to use Celery on the backend - have a look at this blog post: https://buildwithdjango.com/blog/post/celery-progress-bars/ Writing the actual ingestion scripts is very much standard work for any programmer -

Re: Django Admin Custom View Query Generation

2020-04-26 Thread Vaibhav Mishra
You can use built-in Django ORM methods to perform calculated operations on existing models On Thursday, December 12, 2019 at 11:21:14 PM UTC+5:30, Balaji wrote: > > Hi > > Can anyone please tell me how can we generate Custome Model view for > different report where we use avg, min , max, sum,

Re: Django Admin Custom View Query Generation

2020-04-26 Thread Ram
Hello Derek, Thanks for providing good references for Django Admin Customization. I'm looking for a way to customize the following requirements. I thought you might have some idea of how to achieve this. 1. We extract data from XML files and upload the data into our Django based web app but we

Re: Django Admin Custom View Query Generation

2019-12-14 Thread Derek
The first post I came across that helped me before was: https://hakibenita.com/how-to-turn-django-admin-into-a-lightweight-dashboard (tip: he has many useful admin-related posts and is worth following) This seems like a more recent version of the same:

Re: Django Admin Custom View Query Generation

2019-12-13 Thread Balaji Shetty
Thank you very much Derek. You always provide nice help. Can we generate graphs for reports in Django Admi n. On Saturday, December 14, 2019, Derek wrote: > You can use built-in Django ORM methods to perform calculated operations > on existing models (you don't need a new model). See:

Re: Django Admin Custom View Query Generation

2019-12-13 Thread Derek
You can use built-in Django ORM methods to perform calculated operations on existing models (you don't need a new model). See: https://docs.djangoproject.com/en/3.0/topics/db/aggregation/ For more complex operations, you can write "raw" SQL -see

Re: Django Admin templates not being overwritten by app templates

2019-11-10 Thread Aldian Fazrihady
You need to reorder the app list in INSTALLED_APP setting, so `django.contrib.admin` is located lower than your app`. On Mon, Nov 11, 2019 at 3:49 AM Alexander Beach wrote: > I am trying to create registration forms using Django's built in auth > forms. However, when using the Django admin,

Re: Django Admin templates not being overwritten by app templates

2019-11-10 Thread Alexander Beach
This behavior seems counter intuitive, and contrary to what the documentation says For example: my settings.py file is as follows: TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, 'OPTIONS': {

Re: Django Admin templates not being overwritten by app templates

2019-11-10 Thread Mike Dewhirst
On 11/11/2019 7:02 am, Alexander Beach wrote: I am trying to create registration forms using Django's built in auth forms.  However, when using the Django admin, the Django admin templates are always being used. My application structure is as follows: | ├──bug │├──__init__.py │├──__pycache__

Re: Django admin no recuerda mi superusuario

2019-10-13 Thread Gil Obradors
Hi Francisco! What are you trying to do? Step to step What is the expected behavior? What is the real behaviour? Are you talking to save the password to the browser? Missatge de DANIEL URBANO DE LA RUA del dia dg., 13 d’oct. 2019 a les 22:03: > Cuando ejecutas un migrate se crean las tablas

Re: Django admin no recuerda mi superusuario

2019-10-13 Thread DANIEL URBANO DE LA RUA
Cuando ejecutas un migrate se crean las tablas en la db que tengas en el setting On Sun, 13 Oct 2019, 22:00 Julio Cojom, wrote: > Pensé en la BD pero cuando ejecuta manager.py eso debería de afectar la > base que tenga en settings. Sera que hay 2 proyectos y ejecutas sobre uno > pero necesitas

Re: Django admin no recuerda mi superusuario

2019-10-13 Thread Julio Cojom
Pensé en la BD pero cuando ejecuta manager.py eso debería de afectar la base que tenga en settings. Sera que hay 2 proyectos y ejecutas sobre uno pero necesitas los resultados en otro? Has revisado la tabla de usuarios en la BD para ver si está creado el registro? El dom., 13 de octubre de 2019

Re: Django admin no recuerda mi superusuario

2019-10-13 Thread DANIEL URBANO DE LA RUA
Que base de datos tienes configurada rn el setting.py On Sun, 13 Oct 2019, 21:53 DANIEL URBANO DE LA RUA, < dannybombas...@gmail.com> wrote: > No tienes nada que hacer en el setting > > On Sun, 13 Oct 2019, 21:23 Francisco Muller, < > franciscojavierlevi...@gmail.com> wrote: > >> When creating a

Re: Django admin no recuerda mi superusuario

2019-10-13 Thread DANIEL URBANO DE LA RUA
No tienes nada que hacer en el setting On Sun, 13 Oct 2019, 21:23 Francisco Muller, < franciscojavierlevi...@gmail.com> wrote: > When creating a super user in django with python3 manage.py createsuperuser > and at another time I want to log in to the administrator of my project > with my super

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

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

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

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

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

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

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

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

Re: Django admin application for Android

2019-07-22 Thread Franck Tchouanga
That's coo On Mon, Jul 22, 2019, 07:56 Jens-Joris Decorte wrote: > Hi Alexandre, the app is written in Kotlin. Looked for using flutter but > the webview support is not quite there yet.. > > Op woensdag 17 juli 2019 17:26:04 UTC+2 schreef Alexandre Guignard: >> >> That's cool, thanks  >>

Re: Django admin application for Android

2019-07-22 Thread Jens-Joris Decorte
Hi Alexandre, the app is written in Kotlin. Looked for using flutter but the webview support is not quite there yet.. Op woensdag 17 juli 2019 17:26:04 UTC+2 schreef Alexandre Guignard: > > That's cool, thanks  > Which langage do You use for the app ? -- You received this message because you

Re: Django admin application for Android

2019-07-22 Thread Jens-Joris Decorte
Hi Derek, The GOLD plan is for users who want to manage multiple projects. On top of that they get some other benefits like using shortcuts and rearranging the order of the models. This is $0.99 per month as a way to support my development :-) Kind regards Op woensdag 17 juli 2019 08:11:56

Re: Django admin application for Android

2019-07-22 Thread Jens-Joris Decorte
Hi Derek, The GOLD plan is for users who want to manage multiple projects. On top of that they get some other benefits like using shortcuts and rearranging the order of the models. This is $0.99 per month as a way to support my development :-) Kind regards Op woensdag 17 juli 2019 08:11:56

Re: Django admin application for Android

2019-07-22 Thread Jens-Joris Decorte
Hi Derek, The GOLD plan is for users who want to manage multiple projects. On top of that they get some other benefits like using shortcuts and rearranging the order of the models. This is $0.99 per month as a way to support my development :-) Kind regards Op woensdag 17 juli 2019 08:11:56

Re: Django admin application for Android

2019-07-17 Thread KIKOYO ISAAC
great dude!! On Tue, Jul 16, 2019 at 11:12 PM Derek wrote: > Can you explain more about the GOLD plan - what is it and how much does it > cost? > Monday, 15 July 2019 12:51:58 UTC+2, Jens-Joris Decorte wrote: >> >> Hello Django developers! >> >> Being both a Django developer and a heavy user

Re: Django admin application for Android

2019-07-17 Thread Derek
Can you explain more about the GOLD plan - what is it and how much does it cost? On Monday, 15 July 2019 12:51:58 UTC+2, Jens-Joris Decorte wrote: > > Hello Django developers! > > Being both a Django developer and a heavy user of Django applications, I > found myself accessing the admin

Re: Django admin application for Android

2019-07-15 Thread Ibrahim K
Good work, really appreciated one!! On Monday, July 15, 2019 at 4:21:58 PM UTC+5:30, Jens-Joris Decorte wrote: > > Hello Django developers! > > Being both a Django developer and a heavy user of Django applications, I > found myself accessing the admin interface of my Django sites quite often >

Re: Django Admin Login will not Redirect following Authentication on Remote Host

2019-07-12 Thread Sidnei Pereira
Hahahaha I'm glad it helped! I will probably add this answer to your stackoverflow question. Maybe it will help someone else. -- 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,

Re: django-admin ...command error

2019-05-03 Thread Jorge Gimeno
This is a good case to use manage.py instead, as manage.py sets DJANGO_SETTINGS_MODULE. See here: https://docs.djangoproject.com/en/2.2/ref/django-admin/. -Jorge On Fri, May 3, 2019 at 12:41 PM Josiah Umezurike < pcintegral.pcintegr...@gmail.com> wrote: > I shows that there is a setting

Re: Django admin unable to edit site - CMS links always redirect login page

2019-02-20 Thread gilwell muhati
Hello Angela, Your Apache is acting up, please fix it then we can solve the other issue. *Regards,Gilwell Muhati | +254 710 739 116 | * *~~“The mind is its own place and in itself can make a heaven of hell, a hell of heaven…”~~John Milton * On Wed, Feb 20, 2019 at 5:16 AM Angela Checa

Re: django admin site change_related_template_url problem

2018-12-30 Thread Ryan Nowakowski
You're better off not using the HTML rewriting features of your reverse proxy. Instead configure Django to use the reverse proxied url prefix for all it's URLs. On December 29, 2018 9:03:39 AM CST, Zhe Li wrote: >Hi, > >I am having issues with django installed on a server reversed proxied >to

Re: Django Admin CSS Not Working

2018-11-26 Thread Manish Kumar
once clear the cache and load admin page. On Mon, Nov 26, 2018 at 3:29 PM Kayode Oladipo wrote: > So, after about 3 months of my django admin CSS suddenly crashing and > burning; it shows that the CSS is loaded in terminal. GET base.css 200 blah > blah. However, it doesn't apply to the page

Re: Django Admin Redesign

2018-11-13 Thread Zakriya Bilal
Thanks for the much-needed help! (: On Tuesday, November 13, 2018 at 9:15:39 AM UTC+5, Phako Perez wrote: > > If I remember correctly you can define your own templates under the > template directory > > Regards > > Sent from my iPhone > > On Nov 12, 2018, at 4:49 PM, Zakriya Bilal > wrote: > >

Re: Django Admin Redesign

2018-11-13 Thread Zakriya Bilal
Thanks for the much-needed help! (: On Tuesday, November 13, 2018 at 5:45:06 PM UTC+5, brian hopkins wrote: > > You can override them check out this page in the docs > > https://docs.djangoproject.com/en/2.1/ref/contrib/admin/ >

  1   2   3   4   5   6   7   >