Skip to content

Commit

Permalink
Cleanup example a bit and update tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Oct 16, 2024
1 parent 8e3c05e commit 250cad5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
10 changes: 0 additions & 10 deletions example_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,3 @@
# GIANTBOMB_API_KEY = 'Itsreallynicetohaveanditsfreetomakeanaccountbutnotneccessary'

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

# Are we using the revamped donate page layout?
# The new layout has a revamped display of donation incentives and bid wars.
USE_NEW_DONATE_LAYOUT = False

# RabbitMQ integration settings.
# If set to true, tracker will connect to the MQ server to deliver messages for each donation add & update.
# Unless you know you need this, leave it at False.
USE_AMQP = False
#AMQP_CONNECTIONSTRING = "amqps://username:[email protected]/v_host"
7 changes: 0 additions & 7 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,6 @@
if local.HAS_GIANTBOMB_API_KEY:
TRACKER_GIANTBOMB_API_KEY = local.GIANTBOMB_API_KEY

# Flag for new donate page layout.
USE_NEW_DONATE_LAYOUT = local.USE_NEW_DONATE_LAYOUT

# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error when DEBUG=False.
Expand Down Expand Up @@ -264,8 +261,4 @@
}
}

USE_AMQP = local.USE_AMQP
if USE_AMQP:
AMQP_CONNECTIONSTRING = local.AMQP_CONNECTIONSTRING

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
2 changes: 1 addition & 1 deletion tracker

0 comments on commit 250cad5

Please sign in to comment.