Anonymous
Little confusion about these things
You're making me confused. So you're saying you can't run Django?
Anonymous
What exactly is the error?
Abhi
Rn I am able to run it Sir When I add library of that schedule In settings INSTALLED APP
Abhi
With Admin access
Abhi
It's error DJANGO_SETTING_MODULE
Abhi
You must either define environment variables DJANGO_SETTING_MODULE or call settings.configure() before accessing settings
Abhi
Can anyone help?
Abhi
It's urgent
Abhi
I am beginer in Django
Abhi
What exactly is the error?
You get the things
Abhi
Abhi
Inside the djnago app there no settings.py exist but in this project they did that
Abhi
Tahts why I am unable to understand
Abhi
You get the things
environment error
Денис
environment error
You have two ways: either install django-scheduler via pip or include it as a Django app in your project and add it to INSTALLED_APPS in your settings. I preferred the latter one because I needed to change something in the lib's code.
Abhi
I did with direct schedules
Abhi
But now need to know about hardcoding
Abhi
To update delete event
Abhi
Please it's urgent guide me now
🏳️‍🌈Robby [ Private Message = Spam]
Please it's urgent guide me now
It's urgent for you only, not us: http://catb.org/~esr/faqs/smart-questions.html#urgent
Abhi
Sorry
Abhi
I didn't mean that
Abhi
😔
Денис
Please it's urgent guide me now
I guess you need a project with a working demo so that you could figure out how to create-update-delete. Swingtime is one.
Abhi
Yes
Abhi
Only you have to look into that my sources code directory
Abhi
And you will figure it out
Денис
Only you have to look into that my sources code directory
No I don't. No time for that this morning, sorry
Abhi
https://github.com/llazzaro/django-scheduler
Abhi
Can you tell me is test directory of this project is app or projects
🏳️‍🌈Robby [ Private Message = Spam]
https://github.com/llazzaro/django-scheduler
Why not try using the one that @tor_gash offered?
Денис
Abhi
What was that
Abhi
Yes
Денис
This one
A calendar app for Django
Денис
creating events and occurences
Денис
all that stuff
Abhi
This is popular livability to schedule events
Abhi
Check the code of inside test test_event.py
Денис
well documented and with a really working demo. Swingtime is a good starting point for you. Just read the demo code. and templates. Damn simple
Abhi
It's pure hardcode
Anonymous
https://github.com/llazzaro/django-scheduler
Try this: https://github.com/llazzaro/django-scheduler-sample
Anonymous
I have no clue what Abhi wants
Anonymous
But that repo is an example
Денис
It's pure hardcode
What. Do. You. Want. From a Django testing module? Please do a smart thing: google "django-scheduler working sample" or something. Dig into the code. Nobody's gonna do this job for you. Otherwise you won't learn.
Abhi
I want to make three different methods To 1. Createevent(date,time,): Return event_id 2. Modifyevent(newdate,time,event_id): Return eventid 3. Deleteevent(event_id) Return status With these available library I want to write function that will do these task
Abhi
I can do this but
Abhi
But I want to first setup that all file before I run
Abhi
My code
Anonymous
Did you install it?
Денис
pip install django-scheduler
Abhi
It's working
Abhi
As database logon
Abhi
But I want to do it with python script bro
Anonymous
As database logon
What do you mean by database logon?
Денис
But I want to do it with python script bro
https://github.com/llazzaro/django-scheduler-sample/blob/master/project_sample/management/commands/load_example_data.py Pretty good enough sample for you to find out the methods for that. I'm done.
Abhi
When I am adding 'schedule' 'test' 'djangobower' To my new project settings.py INSTALLED_APPLICATION and run server login to https://localhost:8000/admin And login I am getting django database admin UI to create calendar Delete calendar Create event Delete event Modify event
Abhi
From webrowser
Abhi
Same thing I want to do with python script With different methods by passing parameters
Денис
Abhi
Not other but can't we write code to do operating like that in same data base
Abhi
It's pure django work
Abhi
Only need to figure it out which method it supports do the task
Anonymous
Abhi
From where?
Денис
Only need to figure it out which method it supports do the task
You speak too much and don't listen. You've been gently given a Real. World. Working. SAMPLE. And didn't even read
Денис
https://github.com/llazzaro/django-scheduler-sample/blob/master/project_sample/management/commands/load_example_data.py
Anonymous
From where?
Oh dear lord
Abhi
Yeah get it
Денис
Yeah get it
So you have two ways again. Either you carefully dig into everything we gave you. Or GTFO. You make me tired.
Abhi
Let me try to run all those code And test that
Abhi
Thanks
Sunil
I want to create a website where user can view various reports n graphs Can anyone suggest which plotting library should I use with django.