Re: Turn Django Web App to Mobile App

2022-06-28 Thread King Niko
Thank you my friend! On Tue, Jun 28, 2022 at 17:09 Ryan Nowakowski wrote: > I've used Cordova before > > https://cordova.apache.org/ > > On June 28, 2022 3:26:04 PM CDT, Lightning Bit < > thelegendofearthretu...@gmail.com> wrote: >> >> Hello all, >> >> Where should one start to convert a Django

Re: Randomly Generate a "Certificate of Completion"

2020-10-22 Thread King Niko
This is perfect. Thank you Derek! On Thu, Oct 22, 2020 at 9:14 AM Derek wrote: > You'd need to have a profile for each user, so you can track if they reach > the URL (true/false) and then use their email or internal ID or a generated > UUID for the certificate (you could store this extra code as

Re: Add user to Group after purchase

2020-09-30 Thread King Niko
Thanks Derek! I tried using the signals but it is not working. This is how my signals and models looks: Signals.py: from django.contrib.auth.models import User from .models import * from django.db.models.signals import post_save from django.dispatch import receiver from django.contrib.auth.models

Re: New Users Unable to Use Website

2020-09-20 Thread King Niko
This method works! Thank you! On Sat, Sep 19, 2020 at 23:32 RANGA BHARATH JINKA wrote: > Hi, > > Try this. > > https://stackoverflow.com/questions/36317816/relatedobjectdoesnotexist-user-has-no-userprofile > > > All the best 👍 > > On Sun, 20 Sep 2020, 8:50 am Lightning Bit, < > thelegendofe

Re: Integrating User Accounts into Django Website

2020-09-07 Thread King Niko
Hans, This source works perfectly. Thank you! On Sat, Sep 5, 2020 at 11:16 AM hans alexander wrote: > Try this one : > https://jawaban.online/forum/discuss/52/django-login-and-authentication/ > > > On Sat, Sep 5, 2020 at 9:52 PM King Niko < > thelegendofearthretu...@gmai

Re: Integrating User Accounts into Django Website

2020-09-05 Thread King Niko
My apologies, I should have been more clear. I did not mean integrating users but rather building user accounts for a Django Website. I have a site up and running, the admin page works, but I do not know how to make a login page for visitors of the site. On Sat, Sep 5, 2020 at 9:56 AM hans alexand

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-03 Thread King Niko
predicament. Thank you all for the assistance. On Thu, Sep 3, 2020 at 9:43 AM King Niko wrote: > Hi Kasper, > > I am getting the following error: > > raise TemplateDoesNotExist(template_name, chain=chain) > django.template.exceptions.TemplateDoesNotExist: ./store/cart.ht

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-03 Thread King Niko
Laudrup wrote: > Hi King Niko, > > On 03/09/2020 13.44, King Niko wrote: > > Okay, so I fixed everything with Django Logging- including getting the > > pictures to show up in the store. > > > > What's written in the Django logs when you get the 500 errors

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-03 Thread King Niko
#x27;document_root': settings.MEDIA_ROOT}), url(r'^static/(?P.)$', serve,{'document_root': settings.STATIC_ROOT}), url(r'^cart/(?P.)$', serve,{'document_root': '/store/templates/store'}), url(r'^checkout/(?P.)$', serve,{'docume

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-02 Thread King Niko
d "Checkout". I can still "add" items to my cart and see the number increase on each page, but when I click the "Cart" I receive a 500 Server Error - the same occurs when I type in the url for the "Checkout" page. Here is the code in my "tests.py": from django.te

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-08-31 Thread King Niko
open console tab not elements tab > > On Tue, Sep 1, 2020 at 10:13 AM King Niko < > thelegendofearthretu...@gmail.com> wrote: > >> Interesting, the browser console states the following: >> >> >> >> >> Server Error (500) >> >>

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-08-31 Thread King Niko
Interesting, the browser console states the following: Server Error (500) Server Error (500) How could the *title* and *header 1* be causing the Server Error (500)? On Tue, Sep 1, 2020 at 12:39 AM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > check in browser consol

Re: raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)

2020-08-31 Thread King Niko
his single page unique to becoming an error 500? On Mon, Aug 31, 2020 at 9:51 AM King Niko wrote: > Okay, got it to work. My STATICFILES_DIRS was not set. > > Now I am encountering the issue of the admin portal not working. I am > unable to access pictures from the DJANGO ADMIN porta

Re: raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)

2020-08-31 Thread King Niko
portal, they are blank as though they do not exist. I looked at the logging and when I click "Cart" I receive a 500 error stating that the TemplateDoesNotExist. Is there any way to connect the DJANGO ADMIN portal to the published site? On Mon, Aug 31, 2020 at 9:37 AM King Niko wrote: &

Re: raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)

2020-08-31 Thread King Niko
Thank you Ranga, the site is up and running now. Unfortunately, none of the Static CSS, Images, nor JS are appearing and I get this error for each individual CSS, Image, or JS file: *> * *"GET /static/images/Facebook.png HTTP/1.1" 404 179 "https://samplesite.herokuapp.com/home/

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread King Niko
all happen to know of any solutions to this? On Sun, Aug 30, 2020 at 9:17 AM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > > Please check the whole log errors line by line. Then only u can find > the exact error > > On Sun, Aug 30, 2020 at 6:37 PM King Ni

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread King Niko
p://samplesite.herokuapp.com/> request_id=private fwd="private" dyno=web.1 connect=1ms service=116ms status=500 bytes=477 protocol=https* Thanks Ranga! On Sun, Aug 30, 2020 at 8:33 AM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > >Copy and paste your

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread King Niko
and precise 500 server errors. The current logs for Heroku is not informative enough. On Sat, Aug 29, 2020 at 15:19 Kasper Laudrup wrote: > Hi King Niko, > > > > On 29/08/2020 20.31, King Niko wrote: > > > > > > Both of these errors are very vague and provide no

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
.com> request_id=private fwd="private" dyno=web.1 connect=1ms service=116ms status=500 bytes=477 protocol=https* Both of these errors are very vague and provide no direction for resolution. Has anyone ever encountered this before? Thanks! On Sat, Aug 29, 2020 at 11:48 AM King Niko &l

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
om >> <http://samplesite.herokuapp.com> request_id= "private" fwd="private" >> dyno=web.1 connect=1ms service=99ms status=500 bytes=477 protocol=https* >> >> Any suggestions? Thank you! >> >> On Sat, Aug 29, 2020 at 10:54 AM King Niko

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
9ms status=500 bytes=477 protocol=https* Any suggestions? Thank you! On Sat, Aug 29, 2020 at 10:54 AM King Niko < thelegendofearthretu...@gmail.com> wrote: > Thank you so much for the help. The: > > *> heroku logs --tail* > > Definitely shows all of the errors. Two common err

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
Thank you so much for the help. The: *> heroku logs --tail* Definitely shows all of the errors. Two common errors that I have witnessed is: *> "GET / HTTP/1.1" 500 145 "https://dashboard.heroku.com/ " "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (K