excel records download on the about page

This commit is contained in:
admin committed 2026-10-23 17:41:07 -04:00
1 parent 0462af758d
commit ef1b423edc
4 files changed
+8 -2

No files matched your search

+1
View File
@@ -9,5 +9,6 @@ urlpatterns = [
path('about/', views.about, name="about"),
path('links/', views.links, name="links"),
path('links/modpack', views.zipdownload, name="zipdownload"),
path('about/records', views.recordsdownload, name="recordsdownload"),
path('robots.txt', TemplateView.as_view(template_name="robots.txt", content_type="text/plain") , name='robots.txt'),
]
+5
View File
@@ -27,6 +27,11 @@ def zipdownload(request):
file_path = os.path.join(settings.STATIC_ROOT, 'files', 'mods.zip')
return FileResponse(open(file_path, 'rb'), as_attachment=True, filename='mods.zip')
def recordsdownload(request):
# excel records zip, rebuilt every night by ~/scripts/build_records_zip.py
file_path = os.path.join(settings.STATIC_ROOT, 'files', 'wvlottopy_records.zip')
return FileResponse(open(file_path, 'rb'), as_attachment=True, filename='wvlottopy_records.zip')
@cache_page(CACHE_TTL)
def home(request):
context = {
+1 -1
View File
@@ -9,7 +9,7 @@
<p>It began when two close friends of mine piqued my interest with their own ways to win the jackpot. One who thought it was all in location, and another who simply pulled numbers from his dreams and meditation (some winning +$10,000!)</p>
<p>Although I do not claim to have a universal link or the secret to winning numbers, my goal is to give the best edge available using statistical and historical analysis on the lottery. The most recent addition to the site has been the reintroduction of data dating back to 1992, in order to add to the training pool and get a more accurate estimate.</p>
<p>The site is still in development and I am working on adding more features and improving the site's functionality. Currently everything is in working order and the numbers will be refreshed momentarily after new ones are called, but if there is a specific feature not available that you would like to request, be my guest!</p>
<p>Everything here, from the prediction scripts to the site itself, was written by hand in Python, starting in 2021, well before AI coding assistants came along. The site's <a href="https://github.com/lottopy/django_lottopy/commits/main">full commit history</a> is public for anyone who wants to see how it was built. I have also created a cleaned and stripped down version of the prediction scripts, hosted on <a href="https://gitea.wvlotterypredictor.xyz/admin/wvlottopy"><img src="https://gitea.wvlotterypredictor.xyz/assets/img/logo.svg" alt="Gitea logo" style="height:1em;vertical-align:-0.125em;padding:2px;">Gitea</a> and <a href="https://github.com/lottopy/wvlottopy"><i class="fa-brands fa-github" style="padding:2px;"></i>GitHub</a>, and I encourage anyone interested to port it to their own local lotteries.</p>
<p>Everything here, from the prediction scripts to the site itself, was written by hand in Python, starting in 2021, well before AI coding assistants came along. The site's <a href="https://github.com/lottopy/django_lottopy/commits/main">full commit history</a> is public for anyone who wants to see how it was built. I have also created a cleaned and stripped down version of the prediction scripts, hosted on <a href="https://gitea.wvlotterypredictor.xyz/admin/wvlottopy"><img src="https://gitea.wvlotterypredictor.xyz/assets/img/logo.svg" alt="Gitea logo" style="height:1em;vertical-align:-0.125em;padding:2px;">Gitea</a> and <a href="https://github.com/lottopy/wvlottopy"><i class="fa-brands fa-github" style="padding:2px;"></i>GitHub</a>, and I encourage anyone interested to port it to their own local lotteries. The most recent version of the excel is updated daily and available for download <a href="/about/records">here</a>.</p>
<p>Winners using numbers from this site will be featured on a new "Winners" page if consenting. If you have any suggestions or comments, please feel free to contact me at <u style="color:blue">admin at wvlotterypredictor dot xyz</u> and please keep in mind this site is funded by the donations of those who support it, so any financial assistance is greatly appreciated.</p>
<p>For updates subscribe to the mailing list at the bottom of this page (I will not disclose or abuse your personal information) or follow me on the twitter linked in the navigation bar. Thank you for visiting!</p>
<h2><i class="fa-solid fa-wallet"></i>Crypto Addresses</h2>