johev09 / djcal

Django Calendar (with google calendar sync)
0 stars 1 forks source link

Your djcal looks fantastic, but not acting the same on my site xD #1

Open Nakazai opened 7 years ago

Nakazai commented 7 years ago

Hi,

I just love what you have developed and wanted to test it, but it is acting weird as i can show you on the snapshots:

https://gyazo.com/469cc9ac18c663a3f670afb31afa1d09

https://gyazo.com/2b96830430e9d689747c10906dd95abe

https://gyazo.com/8a7cb9fa7a91ba5406d2123289b09bd4

All of it is appearing on the left side so I am not sure if it has to do with the jquery or something else.

Still learning programming so that is why I want to check this project out.

Appreciate your help!

johev09 commented 7 years ago

You need to start django server and access the app from localhost. Have you started the server?

python manage.py runserver

Nakazai commented 7 years ago

Also, when I try to sync with google it throws this error:

  1. That’s an error.

Error: origin_mismatch

Request Details client_id=642165405561-i3955klb3np69upspeuakno68hg6adt0.apps.googleusercontent.com scope=https://www.googleapis.com/auth/calendar immediate=false include_granted_scopes=true proxy=oauth2relay718815003 redirect_uri=postmessage origin=http://127.0.0.1:8000 responsetype=token gsiwebsdk=1 state=834409514|0.1628581123 jsh=m;//scs/apps-static/_/js/k=oz.gapi.no._lliH7YaW4g.O/m=features/am=AQ/rt=j/d=1/rs=AGLTcCOW5ly81cwXlByuQhDLTLb_O_GNEA

That’s all we know

johev09 commented 7 years ago

Its because your url is http://127.0.0.1:8000

After starting server, open the app using the url: http://localhost:8000

Nakazai commented 7 years ago

Thank you for the url for testing purposes. Now i am trying to change the client-id so i can sync the app with google calendar with a different URL since i now will connect to a external server. I have set the new client-id. But when the error message pops-up, it's still your client-id that pops-up. How do i change your client-id to my own client-id. Do you have any solutions, please?

johev09 commented 7 years ago

sorry, I forgot where I set the client-id.

I am busy so cannot look at the code. If you at all cannot find the client-id, I will look at the code later when I find time.

On Thu, May 11, 2017 at 3:08 PM, Nakazai notifications@github.com wrote:

Thank you for the url for testing purposes. Now i am trying to change the client-id so i can sync the app with google calendar with a different URL since i now will connect to a external server. I have set the new client-id. But when the error message pops-up, it's still your client-id that pops-up. How do i change your client-id to my own client-id. Do you have any solutions, please?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/johev09/djcal/issues/1#issuecomment-300738087, or mute the thread https://github.com/notifications/unsubscribe-auth/AGiSOhtDmwnjLMUDc8u5K6HTz8RK-9q3ks5r4tcZgaJpZM4MSWQz .

Nakazai commented 7 years ago

Sorry, i have changed your client-id and replaced it with my own client-id. In some weird way the error that pops-up still shows your client-id instead of mine even though I have change it xD