Re: Potential bug: mysql-connector-python Django 3.2.11 and third-party packages that populate the Admin Site

2022-02-03 Thread Richard Mayebo
lpful to downgrade versions till you get a working one. > > On Wednesday, February 2, 2022 at 9:01:51 PM UTC-5 dashlaksh...@gmail.com > wrote: > >> Use only the mysqlclient package to populate your admin site with MySQL >> database. >> >> You can watch this tut

Re: Potential bug: mysql-connector-python Django 3.2.11 and third-party packages that populate the Admin Site

2022-02-03 Thread Jason
. So could be helpful to downgrade versions till you get a working one. On Wednesday, February 2, 2022 at 9:01:51 PM UTC-5 dashlaksh...@gmail.com wrote: > Use only the mysqlclient package to populate your admin site with MySQL > database. > > You can watch this tutorial also : http

Re: Potential bug: mysql-connector-python Django 3.2.11 and third-party packages that populate the Admin Site

2022-02-02 Thread Lakshyaraj Dash X-D 25
Use only the mysqlclient package to populate your admin site with MySQL database. You can watch this tutorial also : https://youtu.be/SNyCV8vOr-g On Thu, Feb 3, 2022, 06:19 Richard Mayebo wrote: > Platform: Observed on Ubuntu 20.04 > > >1. Install MySQL (Observed on 5.7 and

Potential bug: mysql-connector-python Django 3.2.11 and third-party packages that populate the Admin Site

2022-02-02 Thread Richard Mayebo
(both these third party packages populate the Django Admin Site, where the apparent bug manifests). 6. Create a superuser (python manage.py createsuperuser) 7. Start Django (python manage.py runserver) 8. Launch the Django Admin Site and log in with the superuser. 9. The pane

Sorting in Django admin site on different locale

2021-12-06 Thread Roland Leners
I am currently learning Python and Django via building a simple Web application. It involves objects with character fields that take values in different languages (French and Spanish) and I face an issue with sorting on those values in the Django administration site. Here are sample sets:

Re: Issue in rendering of Inline forms on Django Admin site

2021-12-01 Thread Gabo LaTo
Nope, sorry I missread El mié, 1 de dic. de 2021 a la(s) 19:05, Gabo LaTo (elgatogabr...@gmail.com) escribió: > Aren't you missing the model class attribute in TestMyModelCreate? > > Like this: > > class TestMyModelCreate(admin.ModelAdmin): > model = MyModel > fields = ['text', ] >

Re: Issue in rendering of Inline forms on Django Admin site

2021-12-01 Thread Gabo LaTo
Aren't you missing the model class attribute in TestMyModelCreate? Like this: class TestMyModelCreate(admin.ModelAdmin): model = MyModel fields = ['text', ] inlines = [RelatedModelInlineTabular] El lun, 29 de nov. de 2021 a la(s) 20:28, 'Andrea Arighi' via Django users (

Issue in rendering of Inline forms on Django Admin site

2021-11-29 Thread 'Andrea Arighi' via Django users
Good evening, I am encountering a weird bug when rendering Inline forms on the "Add" view of a ModelAdmin. Here is a minimum example with Django version 2.2.4 - - - - - - - in models.py: class MyModel(models.Model): text = models.CharField(max_length=100) class RelatedModel(models.Model):

Admin Site Permissions issue with one particular model

2021-06-23 Thread Jimmy Gawain
This is in reference to an issue with the Django admin site in Django v2.2. I have admin set up for two models: Group and GroupMember. GroupMember works fine. When I try to go to the change page for a Group object in my staff admin area I get a permission error: *You are authenticated

Re: Inlined hierarchy models in django admin site.

2021-06-01 Thread DJANGO DEVELOPER
I think this the only way to lin different models with eachother. and I would like to hear more about linking the models with each other if there is anyone who can describe it to both of us. On Wed, Jun 2, 2021 at 10:38 AM Ayush Bisht wrote: > thanks, .. it works for me.. but is there any other

Re: Inlined hierarchy models in django admin site.

2021-06-01 Thread Ayush Bisht
thanks, .. it works for me.. but is there any other way to do these ??. as PatientVaccineStatus already connected to Patient model, and Vaccine connected to PatientVaccineStatus model. Can't we merged all the tables of descendants to their parent model in this hierarchy fashion without linking

Re: Inlined hierarchy models in django admin site.

2021-06-01 Thread DJANGO DEVELOPER
btw have you applied in your models what I told you to do? On Wed, Jun 2, 2021 at 10:31 AM Ayush Bisht wrote: > yes, its true, but here it works as candidate key. so that we can identify > the patient based in ICMR id's. > > On Tuesday, June 1, 2021 at 1:34:24 AM UTC-7 abubak...@gmail.com

Re: Inlined hierarchy models in django admin site.

2021-06-01 Thread Ayush Bisht
yes, its true, but here it works as candidate key. so that we can identify the patient based in ICMR id's. On Tuesday, June 1, 2021 at 1:34:24 AM UTC-7 abubak...@gmail.com wrote: > class Patient(models.Model): > patient_id = models.CharField(max_length=60) # no need for adding > patient

Re: Inlined hierarchy models in django admin site.

2021-06-01 Thread DJANGO DEVELOPER
class Patient(models.Model): patient_id = models.CharField(max_length=60) # no need for adding patient id because django automatically creates ids patient_vaccine = models.ForeignKey(PatientVaccine, related_name="patient_vaccine") vaccine = models.ForeignKey(Vaccinet,

Re: Inlined hierarchy models in django admin site.

2021-06-01 Thread DJANGO DEVELOPER
class Vaccine(models.Model) vaccine = models.ForeignKey(PatientVaccineStatus, related_name="vaccine_status") patient = models.ForeignKey(Patient, related_name="patient") # new line apply this line and your patient model will be linked with Vaccine model On Tue, Jun 1, 2021 at 11:06 AM

Inlined hierarchy models in django admin site.

2021-06-01 Thread Ayush Bisht
class Patient(models.Model): patient_id = models.CharField(max_length=60) class PatientVaccineStatus(models.Model): patient = models.ForeignKey(Patient, related_name="patient_vaccine_status") class Vaccine(models.Model) vaccine = models.ForeignKey(PatientVaccineStatus,

Custom Text filter field in django admin site.

2021-05-31 Thread Ayush Bisht
x {% trans 'Remove' %} {% endif %} {% endwith %} # . I want to add a custom text filter in django admin site... with 2 input fields. Is there a way to do this.. if so th

Re: Validate UserChangeForm from admin site

2021-05-11 Thread Sharif Mehedi
You can do something like:IN:class CustomUserCreationForm(forms.ModelForm):     def clean(self):    cleaned_data = super().clean()    # put your custom validator here! On Tuesday, May 11, 2021, 6:53:24 PM GMT+6, Ayush Bisht wrote: # admin.pyclass 

Validate UserChangeForm from admin site

2021-05-11 Thread Ayush Bisht
# admin.py class CustomUserAdmin(UserAdmin): model = CustomUser add_form = CustomUserCreationForm fieldsets = ( *UserAdmin.fieldsets, ( 'User type',{ 'fields' : ( 'is_admin', 'is_doctor',

Re: Problem with admin site

2021-03-03 Thread kolo1
('pdf_page', include('qr_code.urls', namespace="qr_code")) For some reason everything was working with my err path only admin site not (why?). After change path seems everything works fine. środa, 3 marca 2021 o 17:11:43 UTC+1 mr.xof...@gmail.com napisał(a): > Show your model.py > &

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 mappi

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.

django admin site password changed every time user's attributes are changed

2021-01-10 Thread Vishesh Mangla
https://dpaste.org/bN7d Please see code at dpaste. I 'm trying to modify my admin site so that the admin can create new accounts there. After clicking save , to whatever email address which the admin has entered an email would bbe sent with a random password. It works perfectly but when I

Re: having an issue with my admin site after an upgrade from django 3.0 to 3.1

2020-08-15 Thread Diksha Vazirani
There's might the problem in installation On Sun, Aug 16, 2020, 2:17 AM sapna Choudhary wrote: > Once i encountered same issue ,it got resolved by upgrading django and > deleting all the browser cookies. > > On Fri 14 Aug, 2020, 3:41 PM Exactly musty, > wrote: > >> Yes I have solved the

having an issue with my admin site after an upgrade from django 3.0 to 3.1

2020-08-15 Thread Amar prakash
Put commamds: python3 manage.py makemigrations Python 3 manage.py migrate -- 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: having an issue with my admin site after an upgrade from django 3.0 to 3.1

2020-08-15 Thread sapna Choudhary
Once i encountered same issue ,it got resolved by upgrading django and deleting all the browser cookies. On Fri 14 Aug, 2020, 3:41 PM Exactly musty, wrote: > Yes I have solved the problem,I made an hard clear cache, and hard refresh > or you use django jazzmin > > On Fri, 14 Aug 2020, 10:50 am

Re: having an issue with my admin site after an upgrade from django 3.0 to 3.1

2020-08-14 Thread Exactly musty
Yes I have solved the problem,I made an hard clear cache, and hard refresh or you use django jazzmin On Fri, 14 Aug 2020, 10:50 am Tobias Lindenberg, wrote: > I have the same problem, do you have a solution yet? > > exactmu...@gmail.com schrieb am Dienstag, 11. August 2020 um 20:49:07 > UTC+2:

Re: having an issue with my admin site after an upgrade from django 3.0 to 3.1

2020-08-14 Thread Tobias Lindenberg
I have the same problem, do you have a solution yet? exactmu...@gmail.com schrieb am Dienstag, 11. August 2020 um 20:49:07 UTC+2: > Done that already but still not working and I use another browser but > still the same > > On Tue, 11 Aug 2020, 6:59 pm carlos, wrote: > >> Hi, clean your cache

Re: How to change how foreign keys are view in admin site

2019-11-15 Thread Paras Jain
> key relationship to post. But anytime I view the admin site and I tried to > relate a comment to a post I made, it won't show me the title of the post > but instead it will show 'post object (1)'. Pls I there any way I can > change that??? > > -- > You received this message because you a

How to change how foreign keys are view in admin site

2019-11-15 Thread Usman Hassan
I have a problem with my django app, I created a an that has two models one which is post and the other is comment, and the comment has a foreign key relationship to post. But anytime I view the admin site and I tried to relate a comment to a post I made, it won't show me the title of the post

Re: Admin site error reporting

2019-10-23 Thread Derek
erro >> for a brief discussion around the difference between running your app >> with DEBUG on or off and how logging can help with this. >> >> >> On Tuesday, 22 October 2019 14:32:50 UTC+2, Dieter Gyselinck wrote: >>> >>> When a change form is acce

Re: Admin site error reporting

2019-10-23 Thread Dieter Gyselinck
g-debug-false-causes-500-erro > for a brief discussion around the difference between running your app with > DEBUG on or off and how logging can help with this. > > > On Tuesday, 22 October 2019 14:32:50 UTC+2, Dieter Gyselinck wrote: >> >> When a change form is accessed i

Re: Admin site error reporting

2019-10-23 Thread Derek
the difference between running your app with DEBUG on or off and how logging can help with this. On Tuesday, 22 October 2019 14:32:50 UTC+2, Dieter Gyselinck wrote: > > When a change form is accessed in the admin site and an error occurs we > receive an error screen if debug equals Tr

Admin site error reporting

2019-10-22 Thread Dieter Gyselinck
When a change form is accessed in the admin site and an error occurs we receive an error screen if debug equals True. If I run into the same error on production, where debug equals False, I don't receive an error email. The error handling is probably configured correctly as I do get error

Re: STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-31 Thread abel otugeme
How do you explain the admin site too? A missing tag in just one part of the html file shouldn't break the entire site. I'll send you the files so you can review them On Monday, December 31, 2018 at 4:24:14 AM UTC+1, Joel Mathew wrote: > > Your site has more wrong with it than just stat

Re: STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-30 Thread Joel Mathew
Your site has more wrong with it than just static css. Your html is appearing as html. You need to unescape them in template or check your tags On Mon, 31 Dec, 2018, 1:10 AM abel otugeme I have done all that i used the docs first and it did not work. Then i > tired this video

Re: STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-30 Thread Okware Aldo
I can have a look if you give me access to the code, we could do teamviewer, or repo. Let me know. On Sun, 30 Dec 2018, 22:40 abel otugeme, wrote: > I have done all that i used the docs first and it did not work. Then i > tired this video https://www.youtube.com/watch?v=YH-ipgxlJzs > > On

Re: django admin site change_related_template_url problem

2018-12-30 Thread Ryan Nowakowski
d proxied >to >the main website. Most of the sites work just fine except a very small >detail in the admin site, change form page. > >Django is running on server A, served at / on port 12345. Server B >which is >the main web server and has a domain www.example.com, and serves >

Re: STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-30 Thread abel otugeme
I have done all that i used the docs first and it did not work. Then i tired this video https://www.youtube.com/watch?v=YH-ipgxlJzs On Sun, Dec 30, 2018 at 5:09 PM Lunga Baliwe wrote: > Please have a look at this link > https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/modwsgi/ on >

Re: STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-30 Thread Lunga Baliwe
Please have a look at this link https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/modwsgi/ on how to setup static files. You may also want to run python manage.py collectstatic On Sun, Dec 30, 2018 at 4:31 AM abel otugeme wrote: > This is how a site looks when i open it up in my

Re: STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-29 Thread abel otugeme
This is how a site looks when i open it up in my browser No CSS! i have done the necessary settings for Django to find the static files On Sat, Dec 29, 2018 at 5:14 PM Kasper Laudrup wrote: > Hi Abel, > > On 29/12/2018 08.07, abel otugeme wrote: > > I really need help i have combed through

Re: STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-29 Thread Kasper Laudrup
Hi Abel, On 29/12/2018 08.07, abel otugeme wrote: I really need help i have combed through stackover flow and this group but the solutions provided don't work for me.  i use a 32bit windows 7 OS and the latest version of django It would probably be easier for someone to help you if you

STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-29 Thread abel otugeme
I really need help i have combed through stackover flow and this group but the solutions provided don't work for me. i use a 32bit windows 7 OS and the latest version of django -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

django admin site change_related_template_url problem

2018-12-29 Thread Zhe Li
Hi, I am having issues with django installed on a server reversed proxied to the main website. Most of the sites work just fine except a very small detail in the admin site, change form page. Django is running on server A, served at / on port 12345. Server B which is the main web server

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-12-12 Thread Theodore D
fter some problems with FastCGI, I >> was told to use passenger to host django. I couldn't find much on this >> topic and somehow managed to get the website working. However, soon I >> realized that the post forms weren't working. More importantly, the admin >> site

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-06-27 Thread Pato
; realized that the post forms weren't working. More importantly, the admin > site wasn't working properly. I get to the admin site login but once I try > to login, I get a page not found error. > > I have contacted the hosting provider and they seem to think that my > configuration

Re: Trouble adding users through admin site

2018-06-10 Thread Dylan Moreland
ing my > model down the road if need be without having to deal with broken ForeignKey > relationships. > > If this were on the frontend, I would write a view that would take the raw > password and send it through set_password(), and that would be the end of it. > But I'm not s

Re: Trouble adding users through admin site

2018-06-09 Thread Daniel Germano Travieso
nd, I would write a view that would take the raw > password and send it through set_password(), and that would be the end of > it. But I'm not sure how to do that with the admin site. > > *Models.py:* > from django.db import models > from django.contrib.auth.models import Abstrac

Trouble adding users through admin site

2018-06-09 Thread Dylan Moreland
be the end of it. But I'm not sure how to do that with the admin site. *Models.py:* from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. class Employee(AbstractUser): def __str__(self): return self.first_name class InfractionType(models.Model

Admin site: pass data from AdminModel object to ModelForm object (or another way to pass data to "add" form)

2018-05-30 Thread Артур Скок
Globally, we need call "add" form for model in admin site, but with options selected by user: 1. user checks items in "changelist" of objects RepoFile 2. select action "create job" 3. redirect user to standard "add" form for new object DeviceCronJob whe

Re: Admin site and Model

2018-05-04 Thread Fidel Leon
May we see your admin.py? El vie., 4 may. 2018 a las 8:32, Harish Soni () escribió: > Hi All, > whenever I create a new model(table) and migrate. I can see it is > available in mysql but its not showing in admin. I have to delete my db and > make migrations of all the tables

Re: Admin site and Model

2018-05-04 Thread Harish Soni
I've added to app's admin.py then only mentioned in mail. On Fri 4 May, 2018, 2:58 PM Fidel Leon, wrote: > You need to add your model to the app's admin.py file. > > As an example: > https://docs.djangoproject.com/en/2.0/intro/tutorial02/#make-the-poll-app-modifiable-in-the-admin

Re: Admin site and Model

2018-05-04 Thread Fidel Leon
You need to add your model to the app's admin.py file. As an example: https://docs.djangoproject.com/en/2.0/intro/tutorial02/#make-the-poll-app-modifiable-in-the-admin El vie., 4 may. 2018 a las 8:32, Harish Soni () escribió: > Hi All, > whenever I create a new model(table)

Admin site and Model

2018-05-04 Thread Harish Soni
Hi All, whenever I create a new model(table) and migrate. I can see it is available in mysql but its not showing in admin. I have to delete my db and make migrations of all the tables again to make that table show in admin. any help would be appreciate. Regards Harish Soni Swarnkar -- You

Re: Admin site and ModelAdmin

2018-05-04 Thread Mike Dewhirst
On 4/05/2018 7:02 AM, jt.oldn...@gmail.com wrote: Thanks for the response Mike. I generally don't like it when a design has to change to fit a framework, I agree. My design is almost entirely in the models. I want an API to be able to work without Django forms. however, in this case I

Re: Admin site and ModelAdmin

2018-05-03 Thread jt . oldnews
Thanks for the response Mike. I generally don't like it when a design has to change to fit a framework, however, in this case I decided to try your solution. I ran into a couple of problems though :-( 1) The fields that I'm looking up were required fields. Validation failed and error messages

Re: Admin site and ModelAdmin

2018-05-02 Thread Mike Dewhirst
On 3/05/2018 10:33 AM, Mike Dewhirst wrote: On 3/05/2018 7:00 AM, jt.oldn...@gmail.com wrote: I'm new to Django and web development in general (C++ background) and I've got amazingly far very quickly, but there's one thing I've been struggling with for a couple days now :-(. Forgive me if I

Re: Admin site and ModelAdmin

2018-05-02 Thread Mike Dewhirst
On 3/05/2018 7:00 AM, jt.oldn...@gmail.com wrote: I'm new to Django and web development in general (C++ background) and I've got amazingly far very quickly, but there's one thing I've been struggling with for a couple days now :-(. Forgive me if I screw up the lingo. I've got a ModelAdmin

Admin site and ModelAdmin

2018-05-02 Thread jt . oldnews
I'm new to Django and web development in general (C++ background) and I've got amazingly far very quickly, but there's one thing I've been struggling with for a couple days now :-(. Forgive me if I screw up the lingo. I've got a ModelAdmin page for registrants of a conference which has fields

Re: Display Many to Many Field in Django admin site

2018-04-03 Thread carlos
com> wrote: > kindly share the code where you registered your product for admin site and > you are calling "get_ ingredients()" method. > > As the error shows your method needs 2 arguments to pass when you call > "get_ingredients()". > > On Tue, Apr 3

Re: Display Many to Many Field in Django admin site

2018-04-03 Thread Muhammad bin-haneef
kindly share the code where you registered your product for admin site and you are calling "get_ ingredients()" method. As the error shows your method needs 2 arguments to pass when you call "get_ ingredients()". On Tue, Apr 3, 2018 at 12:05 PM, mansi thakkar <mansithak

Re: Display Many to Many Field in Django admin site

2018-04-03 Thread mansi thakkar
Yes I have. But it didn't work. Basically my product has many ingredients and on ingredient is contained in many products so all I need is just display product with all the ingredients it contains on admin site. On Tuesday, April 3, 2018 at 12:48:34 PM UTC-4, Julio Biason wrote: > > It

Re: Display Many to Many Field in Django admin site

2018-04-03 Thread Julio Biason
> > In my database, there is one table named Product and the other table is > Ingredient. Both are related with ManyToMany Relationship using bridge > entity (table) named ProductIngredient. > > I am trying to display Many To Many field named ingredient in my Django > admin site.

Re: Display Many to Many Field in Django admin site

2018-04-03 Thread mansi thakkar
; Hello , >> >> In my database, there is one table named Product and the other table is >> Ingredient. Both are related with ManyToMany Relationship using bridge >> entity (table) named ProductIngredient. >> >> I am trying to display Many To Many field named ingred

Re: Display Many to Many Field in Django admin site

2018-04-03 Thread squal poreover
nship using bridge > entity (table) named ProductIngredient. > > I am trying to display Many To Many field named ingredient in my Django > admin site. > > Here is the attached code and screen shot of the error. > > I would like to know the solution of this error and

Re: Django tutorial 2.0 problem on admin site

2018-03-28 Thread Zhizhong Kang
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: >> >> Hey guys what's up. I'

Re: Django tutorial 2.0 problem on admin site

2018-03-28 Thread Daniel Hepper
: > > 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. > > <https://lh3.googleusercontent.com/-UJhq9WMUsag/Wru_b-UuSUI/A9g/bggjpv8rhOgZEb5SwqpO_EzX3MZtckL5ACLcBGAs/s1600/Screen%2BShot

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. <https://lh3.googleusercontent.com/-UJhq9WMUsag/Wru_b-UuSUI/A9g/bggjpv8rhOgZEb5SwqpO_EzX3MZtckL5ACLcBGAs/s1600/Screen%2BShot%2B2018-03-28%2Bat%2B9.11

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread team . readerspoint
web hosting world. I recently purchased a > plan at > >>> > a2hosting. It's a shared hosting plan. After some problems with > FastCGI, > >>> > I > >>> > was told to use passenger to host django. I couldn't find much on > this >

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread Vinicius Assef
> > >>> > I am fairly new to the web hosting world. I recently purchased a plan at >>> > a2hosting. It's a shared hosting plan. After some problems with FastCGI, >>> > I >>> > was told to use passenger to host django. I couldn't find much on this &g

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread Vinicius Assef
t;> > was told to use passenger to host django. I couldn't find much on this >> > topic >> > and somehow managed to get the website working. However, soon I realized >> > that the post forms weren't working. More importantly, the admin site >> > wasn'

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread team . readerspoint
a2hosting. It's a shared hosting plan. After some problems with FastCGI, > I > > was told to use passenger to host django. I couldn't find much on this > topic > > and somehow managed to get the website working. However, soon I realized > > that the post forms weren't wo

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread emepe
't find much on this > topic and somehow managed to get the website working. However, soon I > realized that the post forms weren't working. More importantly, the admin > site wasn't working properly. I get to the admin site login but once I try > to login, I get a page not found error. >

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread emepe
't find much on this > topic and somehow managed to get the website working. However, soon I > realized that the post forms weren't working. More importantly, the admin > site wasn't working properly. I get to the admin site login but once I try > to login, I get a page not found error. &g

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread Vinicius Assef
naged to get the website working. However, soon I realized > that the post forms weren't working. More importantly, the admin site wasn't > working properly. I get to the admin site login but once I try to login, I > get a page not found error. > > I have contacted the hosting

Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread Tanvir Ahmed
realized that the post forms weren't working. More importantly, the admin site wasn't working properly. I get to the admin site login but once I try to login, I get a page not found error. I have contacted the hosting provider and they seem to think that my configuration with passenger is wrong

Re: There seems an issue in Django(1.11)'s password displaying form in admin site.

2017-04-19 Thread Xdynix
e. >> >> I would be very appreciated if someone could tell me whether it is still >> an issue or it has been fixed. And what should I do next. >> >> After I update my django from 1.10 to 1.11, I found the password >> displaying in admin site became like this: >> >

Re: There seems an issue in Django(1.11)'s password displaying form in admin site.

2017-04-19 Thread Simon Charette
ngo from 1.10 to 1.11, I found the password > displaying in admin site became like this: > > > <https://lh3.googleusercontent.com/-6b2Xv9sDDOU/WPe9QvFFs9I/AFM/aX12CoOF17ArKAav3fxrI1j45uY5VEDEwCLcB/s1600/TIM%25E6%2588%25AA%25E5%259B%25BE20170420034030.png> > The entries of

There seems an issue in Django(1.11)'s password displaying form in admin site.

2017-04-19 Thread Xdynix
to 1.11, I found the password displaying in admin site became like this: <https://lh3.googleusercontent.com/-6b2Xv9sDDOU/WPe9QvFFs9I/AFM/aX12CoOF17ArKAav3fxrI1j45uY5VEDEwCLcB/s1600/TIM%25E6%2588%25AA%25E5%259B%25BE20170420034030.png> The entries of encrypt information get into a mess!

Re: Django official tutorial part 2 problem - model won't show on admin site

2017-02-23 Thread ludovic coues
stuck in this part of the tutorial > <https://docs.djangoproject.com/en/1.10/intro/tutorial02/#make-the-poll-app-modifiable-in-the-admin>, > and I've tried a few things to no avail - I can't seem to see the model in > question (called Question) in my admin site: > > -Registered my

Django official tutorial part 2 problem - model won't show on admin site

2017-02-22 Thread t0mgs
d I've tried a few things to no avail - I can't seem to see the model in question (called Question) in my admin site: -Registered my app in the admin.py file. -Added it to INSTALLED_APPS in settings.py in my project folder. -Ran python manage.py makemigrations & python manage.py migrate w

Django shell on django admin site

2017-01-28 Thread Grzegorz Tężycki
Hi everyone. I created small application which can execute python code in django project environment.Maybe someone will be interested and has any suggestions. django-admin-shell: https://github.com/djk2/django-admin-shell -- You received this message because you are subscribed to the Google

Django Admin site paginator does not appear

2016-11-30 Thread Xavier Pidelaserra
I'm setting up a django paginator in the Django Admin Site in order to display the elements 30by30 on the changelist. To do so, I'm using "list_per_page=30" on the DocumentAdmin. It works fine on Firefox, but the paginator doesn't appear on Safari, either in iMac, iPad or iPhone..

Re: How to hook into the admin site to count login attempts with REST API / proxy?

2016-11-20 Thread Luis Zárate
es.readthedocs.io/en/latest/issues.html#not-being-locked-out-after-failed-attempts > add watch_login to your admin url > > On Friday, November 4, 2016 at 8:16:20 PM UTC+3:30, Daniel Grace wrote: >> >> Hello, I have a REST API which is not publicly accessible as it is behind a prox

Re: How to hook into the admin site to count login attempts with REST API / proxy?

2016-11-20 Thread Reza Shalbafzadeh
wrote: > > Hello, I have a REST API which is not publicly accessible as it is behind > a proxy. However the admin site is publicly available through an NGINX > server. The REST API already has functionality to count failed login > attempts and I would like to duplicate that funct

Re: How to hook into the admin site to count login attempts with REST API / proxy?

2016-11-17 Thread T Thomas
rmobile/> Thanks & Regards, Thomas Russell +1-224-636-9884 App Innovation Technologies <http://www.aitechindia.com/> On Friday, November 4, 2016 at 10:16:20 PM UTC+5:30, Daniel Grace wrote: > > Hello, I have a REST API which is not publicly accessible as it is behind > a

Re: Admin site - prepopulating field based on foreign key

2016-11-07 Thread dodrian
.com wrote: >> >> I'm having trouble with my admin site, would appreciate any pointers. >> >> I have these three models in my database with relationships as shown: >> >> class Customer(models.Model): >> name=models.CharField(max_length=30) >> >

Re: Admin site - prepopulating field based on foreign key

2016-11-04 Thread Rafael E. Ferrero
://github.com/digi604/django-smart-selects > > > On Thursday, 3 November 2016 19:21:14 UTC+2, dod...@gmail.com wrote: >> >> I'm having trouble with my admin site, would appreciate any pointers. >> >> I have these three models in my database with relationships a

How to hook into the admin site to count login attempts with REST API / proxy?

2016-11-04 Thread Daniel Grace
Hello, I have a REST API which is not publicly accessible as it is behind a proxy. However the admin site is publicly available through an NGINX server. The REST API already has functionality to count failed login attempts and I would like to duplicate that functionality on the admin login

Re: Admin site - prepopulating field based on foreign key

2016-11-04 Thread Derek
You need a third-party app e.g. https://github.com/digi604/django-smart-selects On Thursday, 3 November 2016 19:21:14 UTC+2, dod...@gmail.com wrote: > > I'm having trouble with my admin site, would appreciate any pointers. > > I have these three models in my database with relationsh

Admin site - prepopulating field based on foreign key

2016-11-03 Thread dodrian
I'm having trouble with my admin site, would appreciate any pointers. I have these three models in my database with relationships as shown: class Customer(models.Model): name=models.CharField(max_length=30) class Location(models.Model): name=models.CharField(max_length=30) customer

Re: Custom form fields in admin site

2016-09-09 Thread Luis Zárate
Hi, I started to make a test project, and review the django code in options, but I see the problem and started to code in other way the result is in https://github.com/luisza/onetooneForm Now is more interesting because I try to provide a way to update onetoone fields in the same form. I made

Re: Custom form fields in admin site

2016-09-09 Thread ludovic coues
It's not easy to understand what you are trying to do and in which way it is failing. It would require us setting up a test project. I am assuming you want that the Admin display a form with a field for each of Mymodel field plus the myextra_field attribute and what you get is either only the name

Custom form fields in admin site

2016-09-08 Thread Luis Zárate
Hi, I am trying to do something like class MyForm(forms.ModelForm): myextra_field = forms.IntegerField() class Meta: models = Mymodel fields = '__all__' class MymodelAdmin(admin.ModelAdmin): form = MyForm fields = ["name", 'myextra_field'] def

Re: How to use django.contrib.postgres.forms widgets in the admin site

2016-08-16 Thread François Schiettecatte
;jaysheld...@gmail.com> > Sent: 16 August 2016 08:55 > To: Django users > Subject: How to use django.contrib.postgres.forms widgets in the admin site > > Hi there, > > I just recently updated my database to postgres, looking to play with the > django supported fie

Re: How to use django.contrib.postgres.forms widgets in the admin site

2016-08-16 Thread Elizabeth Mawer
on <jaysheld...@gmail.com> Sent: 16 August 2016 08:55 To: Django users Subject: How to use django.contrib.postgres.forms widgets in the admin site Hi there, I just recently updated my database to postgres, looking to play with the django supported field types HStoreField and JSONField

How to use django.contrib.postgres.forms widgets in the admin site

2016-08-16 Thread Jay Sheldon
Hi there, I just recently updated my database to postgres, looking to play with the django supported field types HStoreField and JSONField (reference: https://docs.djangoproject.com/en/1.8/ref/contrib/postgres/fields/ ) I got the install working fine, but in my admin section - the widgets

Re: Possible bug in Django Admin site in tabular inline or stacked inline with datetime shortcuts

2016-04-25 Thread Константин Попов
I have found possible bug in django admin site, using tabular inline with > datetime field. The same bug exists in stacked inline as I can see form > code. > > I am not sure what is the best way to report the bug, so I decided to > write here first. > Please, give me advice on

Possible bug in Django Admin site in tabular inline or stacked inline with datetime shortcuts

2016-04-19 Thread Константин Попов
Hi, django users. I have found possible bug in django admin site, using tabular inline with datetime field. The same bug exists in stacked inline as I can see form code. I am not sure what is the best way to report the bug, so I decided to write here first. Please, give me advice on my next

Re: form as filter in admin site

2016-02-22 Thread Luis Zárate
min) list_filter = ( MatriculaFilter, ) 2016-02-20 9:56 GMT-06:00 Luis Zárate <luisz...@gmail.com>: > I am trying to insert a filter in the admin site that have 2 autocomplete > inputs so I was thinking to do passed a form with a custom filter,

  1   2   3   4   5   6   7   8   9   >