czue / django-wedding-website Goto Github PK
View Code? Open in Web Editor NEWA django-powered wedding website and guest-management system
License: Other
A django-powered wedding website and guest-management system
License: Other
To make it work, I had to add this variables in the bigday/settings.py:
ALLOWED_HOSTS = ["my_website_url"]
CSRF_TRUSTED_ORIGINS = ["my_website_url",'https://.127.0.0.1' ] (not sure for the 'https://.127.0.0.1' but didn't tried without it)
Where are the declarations for the variables used in the email templates, etc. supposed to be defined? I presume you stripped them out for privacy reasons, where should I place them?
Such as:
{{ support_email }}
{{ couple }}
{{ site_url }}
{{ rsvp_address }}
Thanks,
Alexander
Hi,
I would like to say a big thanks for this, over the past few months i have tinkered with the code to suit my needs, but i am no expert when it comes to Python or Django and have winged it with most of the changes in the code, and that is where my Google search skills come to a end.
In the invitation.html file i have added a checkbox for if the guest requires a bus to/from the venue, which does show up in the page, but i have no idea on how to save the details into the database and to show the checkbox if the guest reloads the invitation page
guests/templates/guests/invitation.html
<div class="form-group">
<label for="{{ bus_req }}" class="col-sm-3 control-label">... Require bus?</label>
<input type='checkbox' name='bus_req' value="{{ bus_req }}">{{ bus_req }}</input>
</div>
guests/models.py
class Guest(models.Model):
(other code)
req_bus = models.BooleanField(default=False)
guests/migrations/0022_req_bus.py
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-01-18 19:29
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('guests', '0021_phone_party'),
]
operations = [
migrations.AddField(
model_name='guest',
name='req_bus',
field=models.BooleanField(default=False),
),
]
Any help would be greatly appreciated,
Thanks
Michael
E.g. change "Cory and Ro" to settings.COUPLE, make it easier to swap out images, remove links to our personal google form, etc.
Hi, thanks for the great django project. I'm getting married myself and wanted to use it.
However I'm stuck at django.db.utils.OperationalError: no such table: guests_guest
when I try to run manage.py migrate
. Can you please help?
Hi @czue, just wanted to thank you for making this project available. We used as the starting point for our wedding website over a year ago and were really happy with the outcome. As a python dev who hasn't really worked with Django or frontend before, there's no way I would have managed to get anything reasonable in time without having this to start from ๐
We added a few things like a login page, a savable RSVP form, and some clunky JavaScript effects:
Some notes about some technical items that I could contribute back upstream:
CustomAuthForm
based on https://stackoverflow.com/questions/43542442 and using django-widget-tweaks
guests.backends.ModelBackend
which looks up the corresponding Guest
object and returning its guest.party.user
.jinja2
rather than having to specify them as arguments to render()
.dotenv
to manage credentialsQuestionAnswer
model to allow us to add arbitrary questions and guests to provide arbitrary answers in the RSVP formThe resulting code had a lot of last minute hacks so I don't think I'll upload the end result, but I'd be happy to try to separate out some of the above items.
No issue. Just wanted to say thank you!
runnning manage.py runserver
running into this log of error
Feature request:
Send out emails to a select group of guests. Recipients could be those who RSVP'd yes, with a reminder the hotel block is filling up. Or a reminder to those who have opened the invitation but not responded, or those who haven't opened the invite yet. Could also send alerts to the couple (Django account emails) with regular statistics or when someone accepts/declines.
It would be nice to support Django 2 and python 3
Hi,
We added a free text field to the Guest model for people to note dietary requirements - I couldn't extract a meaningful PR from our changes so I'm simply mentioning it here in case someone else is interested in the idea. I'm happy to raise a PR with what I can if you'd like a starting point.
When importing a CSV, the values for is_invited and is_child must be y/n. Would it be possible to accept TRUE/FALSE values too?
When editing the CSV with a spreadsheet program, the checkbox column results in TRUE/FALSE values.
Hi Cory,
Thanks for opening your project, it will provide a solid base for what we're trying to do.
I see a number of unanswered issues and pull requests and wondered if you are maintaining this project still. If not we'll carry our changes and not make an effort to upstream them.
thanks,
Karl.
Great project, I'm using it for my wedding website. Is there a way to track +1s in the current code?
Thanks,
Alexander
Which version of Django ,we have to use for this.
Thanks for sharing a great project! I've gotten everything set up to our liking and working well on the development server but am struggling with getting it deployed with gunicorn.
I can run gunicorn bigday.wsgi --bind 0.0.0.0:8000
from the django-wedding-website folder and the server starts, but none of the static resources are found.
If I run the same command from /django-wedding-website/bigday I get the following
I also see the supervisor_django.conf file in /deploy/supervisor, but haven't figured out what do with it either.
Any help getting me on the right track would be great! Thanks again
What URL or shell command should be used to send emails for save the dates or invitations? Is there a way to test send?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.