Re: help me

2023-09-23 Thread Miracle
Kindly use this link https://www.makeuseof.com/heroku-alternatives-free-full-stack-hosting/ On Sat, 23 Sept 2023, 7:44 pm Akoo Rahimi, wrote: > Hello friends > > Can you introduce me some sites similar to Heroku? > > I just started Django and I want to test my projects on the global server. >

Re: Error django.db.utils.OperationalError: no such column:

2022-04-26 Thread Miracle
Did you run migrations??? You should run `python manage.py makemigrations` and then `python manage.py migrate` On Tue, Apr 26, 2022 at 8:37 AM Israel Lewis wrote: > Hello guys, > > I'm having an error in my models when I add the FK to the faculty or the > student. > model.py > from django.db

Re: Celery tutorial

2021-10-26 Thread Miracle
Check this out: https://realpython.com/asynchronous-tasks-with-django-and-celery/ https://www.youtube.com/watch?v=THxCy-6EnQM https://www.section.io/engineering-education/django-celery-tasks/ On Tue, Oct 26, 2021 at 5:04 PM parag gupta wrote: > Is there any good celery tutorial that might help?

Challenges Building and Integrating Test and Live API keys

2021-06-15 Thread Miracle
I want to create a system that works similar to stripe. There'll be live API keys, as well as test API keys. I have been thinking of how to implement this architecture, and I am not sure the best way to go about it. I found a similar question on this but it didn't help much. Architecturing

Re: Django 3.2 Released

2021-04-06 Thread Miracle
Awesome!! On Tue, Apr 6, 2021 at 10:42 AM Carlton Gibson wrote: > Details are available on the Django project weblog: > > https://www.djangoproject.com/weblog/2021/apr/06/django-32-released/ > > -- > You received this message because you are subscribed to the Google Groups > "Django users"

Re: Flask to django

2020-08-08 Thread Miracle
You'll have to build a brand new application using django. Django and flask are quite similar, so porting to django won't be so much issue. Also, both work with python. However, there's no automatic way to change from flask to django. You'll have to write the codes. And it's not totally a big

Re: how source code is deployed inproduction

2020-07-29 Thread Miracle
You can use Heroku Netlify Google Cloud Amazon Web Services Digital Ocean Azure Python anywhere Etc. Just google how to deploy django on an of the above provider and you'll see lots of tutorials and videos to put you through. An easy place to start would be Heroku. Kind regards, Miracle

Re: Django Survey

2020-07-29 Thread Miracle
You welcome Ryan. Kind regards. On Wed, 29 Jul 2020, 6:20 pm Dylan Reinhold, wrote: > I now see the django team used the ift link in their tweet... Thanks for > forwarding this on Miracle. > > Regards, > Dylan > > On Wed, Jul 29, 2020 at 10:13 AM Dylan Reinhold > wrot

Django Survey

2020-07-29 Thread Miracle
Django Developers Community Survey 2020 Your feedback is highly appreciated. https://t.co/p7dKmaAaXh -- 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 Community Survey

2020-07-29 Thread Miracle
https://twitter.com/djangoproject/status/1288488760741683201?s=09 Django 2020 Community survey -- 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: Can't change my site name from example.com

2020-07-27 Thread Miracle
Change both "display name" and "domain name" in sites, in your Admin. Make sure the site Id in settings.py corresponds to the id of the "domain name" Then restart the server. On Mon, 27 Jul 2020, 9:27 pm sunday honesty, wrote: > I am not using custom user model... > > I didn't clone

Re: How to track changes changes, deletions and creations of records on django site

2020-07-27 Thread Miracle
This should work https://django-simple-history.readthedocs.io/en/latest/ On Mon, 27 Jul 2020, 4:30 pm Hector Berrones, wrote: > Hi, Thanks for reading me, does anyone can advice to me about how can have > record of changes, deletions and creations on a django app, > I was trying creating a

Re: Two Django projects accessing same db

2020-06-16 Thread Miracle
You will have to connect one django project to the database as a legacy db. You'll fake migrate, so django doesn't create it's default models twice. On Wed, 17 Jun 2020, 12:24 am J.T., wrote: > I have Django project A on one server & Django project B on a different > server. I want project B

Re: Collapsible list menu with Django

2020-06-11 Thread Miracle
You need to use html and css or maybe boostrap to achieve that. On Thu, 11 Jun 2020, 11:34 am Yogendra Yadav, wrote: > I want to have collapsible menu on my website of the style same as in the > webpage > https://www.investopedia.com/terms/t/technical-analysis-of-stocks-and-trends.asp > . > >

Re: How to display calendar in django webapplication?

2020-06-10 Thread Miracle
Check this project pinax calendars https://github.com/pinax/pinax-calendars On Wed, 10 Jun 2020, 10:43 pm learn code, wrote: > Hi everyone, > > I'm working on a website. In that, I need to display available dates and > timings dynamically. Anyone knows please help me. > > -- > You received this

Re: autocomplete django in visual studio code

2020-06-10 Thread Miracle
I think using "Jedi" as IntelliSense engine would solve the problem. You can also get more template and django specific snippets and auto completion using the "django" extension from the marketplace. On Wed, 10 Jun 2020, 3:23 am THAKUR SINGH, wrote: > INSTALL WINDOWS 10 THEN INSTALL YOUR

Re: Bootstrap drop down menu not clickable.

2020-05-17 Thread Miracle
Have you tried the same drop down menu code in a plain html file? Without django involved. Just create a html file, put the menu code and boostrap code and test if it works in the first place. This issue might be the dropdown configuration. On Sun, 17 May 2020, 10:49 am Miracle, wrote: >

Re: Bootstrap drop down menu not clickable.

2020-05-17 Thread Miracle
Hey Sunday, Please check this... https://stackoverflow.com/a/61849839/11000813 On Sun, 17 May 2020, 10:28 am sunday honesty, wrote: > Thanks for replying... > I just downloaded it now following the guide on the doc you sent me. > I have added it to my installed app and requirements.txt. > I

Re: Possible server attacks

2020-05-04 Thread Miracle
dn't be sending. Generally, ensuring that >> invalid requests end up with your server sending error responses and not >> actual sensitive data that your database has is all you need to do. >> >> Hope this helps. >> >> On Sun, May 3, 2020 at 6:51 PM Miracle wrote:

Re: Possible server attacks

2020-05-03 Thread Miracle
third party addons both on frontend and backend ?? > > > On Sun, 3 May 2020, 11:31 pm Miracle, wrote: > >> I think the possible attacker thinks I am using PHP >> >> On Sun, 3 May 2020, 10:29 pm Miracle, wrote: >> >>> I don't know honestly. >>> >&

Re: Possible server attacks

2020-05-03 Thread Miracle
I think the possible attacker thinks I am using PHP On Sun, 3 May 2020, 10:29 pm Miracle, wrote: > I don't know honestly. > > I got those error messages because I included my email and username in > settings.py like this > > ADMINS = ['username', 'collinsale...@gmail.com']

Re: Possible server attacks

2020-05-03 Thread Miracle
I don't know honestly. I got those error messages because I included my email and username in settings.py like this ADMINS = ['username', 'collinsale...@gmail.com'] On Sun, 3 May 2020, 10:24 pm Motaz Hejaze, wrote: > What is the script main.php ??? > > On Sun, 3 May 2020, 10:43 p

Possible server attacks

2020-05-03 Thread Miracle
' REMOTE_ADDR = '' REQUEST_METHOD = 'GET' SCRIPT_NAME = '' SERVER_NAME = '35.192.28.182' SERVER_PORT = '443' SERVER_PROTOCOL = 'HTTP/1.0' SERVER_SOFTWARE = 'gunicorn/20.0.4' gunicorn.socket = wsgi.errors = wsgi.file_wrapper = '' wsgi.input = kind regards*,* Miracle. -- You received

Re: django.urls.exceptions.NoReverseMatch

2019-12-19 Thread Miracle
Check your codes very well ' editChange' might still be there. On Thu, 19 Dec 2019, 5:55 pm Jorge Gimeno, wrote: > > > On Wed, Dec 18, 2019, 10:20 PM Chetan Rokade > wrote: > >> Hi Friends, >> getting below error : >> "django.urls.exceptions.NoReverseMatch: Reverse for 'EditChange' not >>

Re: Multiple Apps in one project with one database

2019-12-11 Thread Miracle
Multiple Apps can point to one database. What happens is that django creates different tables in the database. It uses this format to create the tables 'appname_modelname' e.g. polls_question Infact, if you remember earlier on before runnung your first "python manage.py migrate". Django

Re: SuperUser not logging out after reboot

2019-12-11 Thread Miracle
Hello, If you don't want to be logged in, you can simply log out before closing the local server. Another way is to tell your browser not to save the password whenever you are logging in. I suppose you have atleast one email account or social media account. And I believe it logs you in

Re: Why is the Django server running even when pytlinter shows that there's some bug in the code?

2019-12-05 Thread Miracle
Just like Daniel Hepper said, pylint-django solves most of the linting problems you will encounter with django. Install it and you're good to go. On Wed, 4 Dec 2019, 9:23 am Bruckner de Villiers, < bruckner.devilli...@gmail.com> wrote: > Which tutorial are you following? Is it any good? > > >