Comments (5)
hello @iamfeysal thanks for your report
it works for me , can you provide more information?
and send me the step by step what you do?
and send me the error you get
from dj-booking.
hello @iamfeysal thanks for your report it works for me , can you provide more information? and send me the step by step what you do? and send me the error you get
@foad-heidari sure. you can please check the below video for more information of the error
infinite.loop.mp4
from dj-booking.
hello @iamfeysal thanks for your report it works for me , can you provide more information? and send me the step by step what you do? and send me the error you get
@foad-heidari sure. you can please check the below video for more information of the error
infinite.loop.mp4
Thanks for the information, i will check it.
But you can try to use the admin optionsform "/booking/admin"
Hopefully it will work for you until it will be fixed
from dj-booking.
@iamfeysal okay so your end time is 23:00 and each booking is 1 hour.
When the while loop get to 00:00, the if state ment is not working
"If (00:00 > 23:00) break"
So it will never stop the loop.
You can change the code to
"If (next_time => booking_settings.end_time) break"
And move it one line before updating the next_time
from dj-booking.
@iamfeysal okay so your end time is 23:00 and each booking is 1 hour.
When the while loop get to 00:00, the if state ment is not working
"If (00:00 > 23:00) break"
So it will never stop the loop.
You can change the code to
"If (next_time => booking_settings.end_time) break"
And move it one line before updating the next_time
@foad-heidari yeah, I have been using that since then. it worked only when I set in I hours but I checked the admin optionsform "/booking/admin"
and it seems to work there for even 2 hours and beyond. No idea why it does not work when i use the django admin section though
from dj-booking.
Related Issues (20)
- use the settings for the appointments
- changeable text/images
- add settings.py vars
- static files don't works
- Bug and Enhancement HOT 1
- Enhancement - Add Edit to appointment
- Enhancement - Spesific days HOT 1
- Enhancement - Resourse management
- Bug - User_id HOT 5
- Remove bootstrap and font-awesome
- Enable email notification
- user should able to edit/remove the booking HOT 1
- Add success redirect url
- Only superuser or Stuff should see the booking_admin page
- howto disable a time start 13.00pm - 14.00pm HOT 2
- If I say I want to set every time an example at 8AM can book 10 users at a time. HOT 1
- Solution for Max Booking for Time HOT 2
- Needing VPN
- Issue with backports.zoneinfo on python3.10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dj-booking.