Re: Off topic slightly - Apache https redirect

2022-02-07 Thread Antonis Christofides
Technically the correct way here is to include 'permanent'. This may help search engines do the correct thing. But there is a problem. At least until a few years ago, the RFC mandated that permanent redirects be cachable forever, and browsers were doing this. Assuming this continues today, if

Re: migrations: "no changes detected"

2022-02-07 Thread Armaan Alam
delete database and migration then again run makemigrations and migrate On Tue, 8 Feb 2022 at 11:05, RANGA BHARATH JINKA wrote: > Hi, > > I think you forgot to add the app name in settings file. Please add the > app names in installed apps. Then it will find out the models. > > All the best > >

Re: Django App

2022-02-07 Thread RANGA BHARATH JINKA
What is the error. Please share here On Tue, 8 Feb 2022, 12:13 am Abdulrahman Abbas, wrote: > Pls I'm trying to host a Django app on a free hosting sites basically > netlify and heroku but it keeps failing while building pls is there > anything I need to install or any other alternative > > -- >

Re: migrations: "no changes detected"

2022-02-07 Thread RANGA BHARATH JINKA
Hi, I think you forgot to add the app name in settings file. Please add the app names in installed apps. Then it will find out the models. All the best On Tue, 8 Feb 2022, 10:14 am 'Delvin Alexander' via Django users, < django-users@googlegroups.com> wrote: > I am trying to run migrations so t

migrations: "no changes detected"

2022-02-07 Thread 'Delvin Alexander' via Django users
I am trying to run migrations so that i can create a table, but when I type out, "python manage.py makemigrations" it returns this: "no changes detected" would anyone know the reason for this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: web page blank

2022-02-07 Thread 'Delvin Alexander' via Django users
it is now, thank you for your help! On Wed, Feb 2, 2022 at 12:23 AM Dev femibadmus wrote: > Is it working fine for you? > > > If not url blog/home.html? > > On Wed, Feb 2, 2022, 08:08 Sebastian Jung > wrote: > >> Hello, >> >> Please try: >> >> context = { >> 'posts': post >> } >> >

How to retrieve the values of environment variables in cpanel?

2022-02-07 Thread Walter Randazzo
Hi there, good night. Does anybody know how to set up environment variables in a cpanel shared hosting? I've found the way to declare the variable name and the value through the "Setup Python App" section, but I didn't find the way to retrieve the value in the settings file. Please note that cp

Re: Name Fields values

2022-02-07 Thread raj program
https://docs.djangoproject.com/en/4.0/ref/models/meta/ On Tue, Feb 8, 2022, 03:54 Feroz Ahmed wrote: > Hi Everyone. > my personal project for marksheet is going on. > > all codes in views are fine > > fields are: > Name > English marks > Science Marks > Computer Marks > Avg > Sum > Total > > i n

Re: Discrepancy in rendering of content_subtitle block

2022-02-07 Thread Bob Kline
I figured it out. Before cloning the site I had upgraded from 3.1 to 3.2. After the upgrade I had stopped and restarted nginx, but I had not bounced the uwsgi daemon which was caching the older version of Django (not the first time I've been bitten by that, so shame on me, I have no excuse 😂).

Re: Name Fields values

2022-02-07 Thread Sebastian Jung
Fix values or should end consumer add/delete values? Feroz Ahmed schrieb am Mo., 7. Feb. 2022, 23:23: > Hi Everyone. > my personal project for marksheet is going on. > > all codes in views are fine > > fields are: > Name > English marks > Science Marks > Computer Marks > Avg > Sum > Total > > i

RE: Django ORM bug(probably, not)

2022-02-07 Thread Feroz Ahmed
Hi try this MyObject.objects.filter(id__lte=10[i.id for i in objects_to_delete]).delete() From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Bobosher Musurmonov Sent: 07 February 2022 17:05 To: Django us

Name Fields values

2022-02-07 Thread Feroz Ahmed
Hi Everyone. my personal project for marksheet is going on. all codes in views are fine fields are: Name English marks Science Marks Computer Marks Avg Sum Total i need help , when i bring all stored record into template. *I need name field as list (dropdown list / Select list )and all the name

Re: Django App

2022-02-07 Thread Sebastian Jung
Hello, I think there arw several tutorials in internet how shows yoz how you use django and heroku. When you have a specific question then ask. For professionel environment i wouldn't use heroku but fir Testing Environment for end user is heroku fine. Regards Abdulrahman Abbas schrieb am Mo., 7

Re: Ongoing project

2022-02-07 Thread Sebastian Jung
I am sorry. This is a private project because license template and several modification for my website. If yoz need support please write me if you have specific questions... And i also have pay for a Professional developer how implement me card/paypal and sepa payment... Regards Abubakar Siddiqu

Re: Ongoing project

2022-02-07 Thread Abubakar Siddique
Hello Hope all doing well Could you please send the GitHub link of your djnago Oscar project. Thanks On Tue, Feb 8, 2022, 1:27 AM Sebastian Jung wrote: > Hello, > > i also make at the moment with django oscar a own website with shop. What > do you mean with innovations? > > Please write me if

Re: Off topic slightly - Apache https redirect

2022-02-07 Thread Mike Dewhirst
Yes ... that's almost what I went with after reading up on the topic. I left the 'permanent' off.Thanks Bob and everyone.CheersMike--(Unsigned mail from my phone) Original message From: Bob Kline Date: 8/2/22 06:30 (GMT+10:00) To: Django users Subject: Re: Off topic slightl

Re: Ongoing project

2022-02-07 Thread Sebastian Jung
Hello, i also make at the moment with django oscar a own website with shop. What do you mean with innovations? Please write me if django oscar is a suitable system for you. Regards Am Do., 17. Dez. 2020 um 12:43 Uhr schrieb Peter Kirieny < kirienype...@gmail.com>: > Hello team > I have a proje

Re: Discrepancy in rendering of content_subtitle block

2022-02-07 Thread Bob Kline
A few more data points: - no errors are shown in the browser's developer tools console for either instance of the site - no resources are shown as having failed to load in the browser's developer tools network tab - no errors are logged by either web server -- You received this

Re: Off topic slightly - Apache https redirect

2022-02-07 Thread Bob Kline
On Sunday, February 6, 2022 at 9:12:38 PM UTC-5 Mike Dewhirst wrote: > There seems to be a multitude of ways to redirect from http to https. > Any pointers to the absolutely correct way? > > How about something like this? ServerName example.com ServerAlias www.example.com Redirect permane

Discrepancy in rendering of content_subtitle block

2022-02-07 Thread Bob Kline
I have a Django site I've been running for years (since before the 1.x days). Right now it's running 3.2 and I have "cloned" it to another Ubuntu 20.4 server so that I can test the upgrade to 4.x. The cloning process involved: - pushing the site's code to a private GitHub repo - git clone

Django App

2022-02-07 Thread Abdulrahman Abbas
Pls I'm trying to host a Django app on a free hosting sites basically netlify and heroku but it keeps failing while building pls is there anything I need to install or any other alternative -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsu

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-07 Thread Abdulrahman Abbas
Try hard reload it's little bit faster On Mon, Feb 7, 2022, 18:12 Steven Smith wrote: > Did this issue ever get resolved? I'm experiencing the same thing. Once > it hits 100 forms or so it gets pretty slow. > > On Monday, September 22, 2014 at 10:48:52 AM UTC-5 Collin Anderson wrote: > >> Yes,

Re: Ongoing project

2022-02-07 Thread Abdulrahman Abbas
I'm interested add me up On Mon, Feb 7, 2022, 18:16 Manoj Kumar Singh wrote: > yes i am intersted > > On Thu, Dec 17, 2020 at 5:12 PM Peter Kirieny > wrote: > >> Hello team >> I have a project in django >> (developing an ecommerce website with some innovations) >> >> Using pycharm and python, a

Re: Ongoing project

2022-02-07 Thread Bernard Mallala
I really love the enthusiasm here. My questions is, why build this from scratch ? I recommend using one of the many existing open source options then customize to taste. Take a look at Saleor - A modular, high performance, headless e-commerce platform built with Python, G

Re: Ongoing project

2022-02-07 Thread Manoj Kumar Singh
yes i am intersted On Thu, Dec 17, 2020 at 5:12 PM Peter Kirieny wrote: > Hello team > I have a project in django > (developing an ecommerce website with some innovations) > > Using pycharm and python, am looking for a partner here > > Am a Kenyan, in Nairobi > > If interested please inbox for m

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-07 Thread Steven Smith
Did this issue ever get resolved? I'm experiencing the same thing. Once it hits 100 forms or so it gets pretty slow. On Monday, September 22, 2014 at 10:48:52 AM UTC-5 Collin Anderson wrote: > Yes, if you want speed, using javascript and ajax is probably your best > bet. It will probably also

Re: Media Files - local network share

2022-02-07 Thread Jiffin George Kokkat
Hi, Mount shared network path to media folder of the Django. https://stackoverflow.com/questions/52825610/django-media-root-pointed-to-network-drive this may help Thanks, Jiffin George Kokkat On Mon, Feb 7, 2022 at 7:41 PM Litesh Garg wrote: > Hi, > > You can use django storages, particularl

Re: Media Files - local network share

2022-02-07 Thread Swelan Auguste
Good day, Thanks for your reply. I was looking into that also, are FTP and SFTP servers a good idea. I was under the impression that it was kind of old technology and was replaced by something bucket s3? Kindly, Swelan R. Auguste (Mr.) KingShip Technical Information Officer 758-489-3909 Webpage

Django ORM bug(probably, not)

2022-02-07 Thread Bobosher Musurmonov
Hello, I have overloaded delete() method of my model to enable soft deletion so that delete() method just sets is_seleted field to be True. When calling this method for individual objects, it works fine. But when I called delete() method directly for a queryset (for example, MyModel.objects.filte

Re: Media Files - local network share

2022-02-07 Thread Litesh Garg
Hi, You can use django storages, particularly ftp or sftp modules for storage and then use nginx to server these files. You can go through documentation here. https://django-storages.readthedocs.io/en/latest/backends/ftp.html On Mon, Feb 7, 2022 at 7:05 AM Swelan Auguste wrote: > Good day, > >