Re: keep getting the Fatal Python error with mod_wsgi and apache

2020-03-25 Thread Mike Dewhirst
On 26/03/2020 2:29 pm, Hella Nick wrote: 你的服务器是安装的python3.8.2的版本吗? Fateh Budwal mailto:fbud...@gmail.com>> 于2020年3月26日周四 上午6:03写道: Hello Everyone  I have complied python 3.8.2 with django 2.2. https://docs.djangoproject.com/en/3.0/faq/install/#faq-python-version-support That page

Re: keep getting the Fatal Python error with mod_wsgi and apache

2020-03-25 Thread Hella Nick
你的服务器是安装的python3.8.2的版本吗? Fateh Budwal 于2020年3月26日周四 上午6:03写道: > Hello Everyone > I have complied python 3.8.2 with django 2.2. it run locally fine but > when i try to deploy it with Apache and mod_wsgi 4.7.1 and getting the > below error. Any suggestions ? > > Current thread

End of extended support for Django 1.11

2020-03-25 Thread Daniela Kim
Hi everyone, When exactly is the *end of extended support* for Django 1.11? The Django Roadmap says "Until at least April 2020" and Django's supported versions page says

keep getting the Fatal Python error with mod_wsgi and apache

2020-03-25 Thread Fateh Budwal
Hello Everyone I have complied python 3.8.2 with django 2.2. it run locally fine but when i try to deploy it with Apache and mod_wsgi 4.7.1 and getting the below error. Any suggestions ? Current thread 0x7f5aa48af880 (most recent call first): no Python framePython path configuration:

Re: no default manager for tables2 object

2020-03-25 Thread Nader Elsisi
AttributeError at /scoutstablefilter/ type object 'ScoutTable' has no attribute '_default_manager' Request Method: GET Request URL: http://localhost:8000/scoutstablefilter/ Django Version: 3.0.3 Exception Type: AttributeError Exception Value: type object 'ScoutTable' has no attribute

Re: Error running Django tutorial

2020-03-25 Thread Thomas Pittman
Kyle D, This is why I stay in this thread. Thanks for the heads up. I remember being so lost when I tried to start teaching myself Django. What's the class for? Regards On Tue, Mar 24, 2020 at 10:46 PM kyle D wrote: > I'm using Django for a class, and came across this thread and thought I'd

Re: no default manager for tables2 object

2020-03-25 Thread Nader Elsisi
models.py class Contact(models.Model): gender_CHOICES = ( ('M', 'Male'), ('F', 'Female'), ) # Field name made lowercase. id = models.IntegerField(db_column='id', primary_key=True) # Field name made lowercase. name = models.CharField(

Re: django search page not found error

2020-03-25 Thread Motaz Hejaze
No problem , you can catch this exception in your views.py if you want .. On Wed, 25 Mar 2020, 12:46 pm omid jahadi, wrote: > It doesn't work ... Actually, ManyToManyField is not null ... I get error > when i search a keyword that doesn't match with any user! ... For example, > first_name is

Re: Help

2020-03-25 Thread hajar Benjat
Thank you so much it is very helpful On Wed, Mar 25, 2020, 7:28 PM Motaz Hejaze wrote: > here some links that maybe useful .. > > > https://stackoverflow.com/questions/43430091/connecting-django-with-mssql-server > > > >

Re: Help

2020-03-25 Thread Motaz Hejaze
here some links that maybe useful .. https://stackoverflow.com/questions/43430091/connecting-django-with-mssql-server https://medium.com/@royce236/django-and-ms-sql-server-2012-connection-2018-120c54dfc037 On Wed, Mar 25, 2020 at 8:24 PM hajar Benjat wrote: > Yes (... If not I would like to

Re: Help

2020-03-25 Thread hajar Benjat
Yes (... If not I would like to use mysql because better But I have to use sql server On Wed, Mar 25, 2020, 7:22 PM Motaz Hejaze wrote: > is it a requirement to use sql server ? > > On Wed, Mar 25, 2020 at 8:19 PM hajar Benjat > wrote: > >> Hello I hope you are doing well >> >> Did

Re: Help

2020-03-25 Thread Motaz Hejaze
is it a requirement to use sql server ? On Wed, Mar 25, 2020 at 8:19 PM hajar Benjat wrote: > Hello I hope you are doing well > > Did someone already used sql server with django I need help for my final > year project > > My problem is I can't makemigrations because it gives me error > >

Help

2020-03-25 Thread hajar Benjat
Hello I hope you are doing well Did someone already used sql server with django I need help for my final year project My problem is I can't makemigrations because it gives me error Thanks in advance -- You received this message because you are subscribed to the Google Groups "Django

Re: no default manager for tables2 object

2020-03-25 Thread Motaz Hejaze
it will be much easier if you share your models and the error On Wed, Mar 25, 2020 at 8:06 PM Nader Elsisi wrote: > I have a tables2 table. And I got this error. I searched the net and > followed a lot > But couldn't fix it. > > The tables2 object is for a inherited model and linked through

no default manager for tables2 object

2020-03-25 Thread Nader Elsisi
I have a tables2 table. And I got this error. I searched the net and followed a lot But couldn't fix it. The tables2 object is for a inherited model and linked through onetoone foreign key. The main object table2 is working fine. But this inherited model has more attributes and fewer objects

Request parsing incorrect using a serializer in Django

2020-03-25 Thread Ankit Garg
*I had created the following serializers for request parsing of JSON data. However, while performing the operation, I get an unexpected error.* class A(serializers.ModelSerializer): class Meta: model = CName

Re: I have issue. I want to migrate database from sqlite3 to postgresql. With a table have 10M records. I need a solution for issue. Maybe help me?

2020-03-25 Thread Motaz Hejaze
cant be done directly from sqlite to postgres as there are differences between them ... safer to generate an intermediate file like a CSV or Excel file from the sqlite database .. create the new postgres database with proper column types .. make a python script to loop through each row in CSV or

I have issue. I want to migrate database from sqlite3 to postgresql. With a table have 10M records. I need a solution for issue. Maybe help me?

2020-03-25 Thread Thắng IT
solution -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit

Re: django search page not found error

2020-03-25 Thread omid jahadi
It doesn't work ... Actually, ManyToManyField is not null ... I get error when i search a keyword that doesn't match with any user! ... For example, first_name is 'Omid', when i search 'o' or 'm', search works fine and return 'Omid', but, when i search 'k', i get PageNotFound error On