-
Notifications
You must be signed in to change notification settings - Fork 16
feat: check grant status #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
anjaniacatus
wants to merge
46
commits into
djangocon:main
Choose a base branch
from
anjaniacatus:check_grant_status_feat
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
f4aaa83
set docker for dev databases (from Sheena branch), fix duplicated ur…
anjaniacatus b783659
fix the date
anjaniacatus ff7bd18
wagtail local configuration
anjaniacatus b5525b6
grants app added , commands to treat csv file
anjaniacatus a1ef86c
template added , use a verification code for safety check
anjaniacatus fd12d1a
prettify the grants status template
anjaniacatus fd1d1c1
add grant status ob the main menu
anjaniacatus 7dbb749
fix layout for grants
anjaniacatus 0684d4a
making sure that mailjet or console emailing is working
anjaniacatus d2a616e
format check
anjaniacatus aee5941
add decouple to the package required
anjaniacatus 96b9fe3
fix header tratement for the csv file
anjaniacatus 53e8bab
fix : decouple package
anjaniacatus 201105b
fix : decouple package
anjaniacatus 3d90986
fix : format
anjaniacatus 08bc889
fix : format
anjaniacatus 066f758
add command to import grants file
anjaniacatus 6c11434
add revert option to add grant data in the databases
anjaniacatus e9dc453
add some test
anjaniacatus 4a48819
separate logging configuration
anjaniacatus d20fde4
.
anjaniacatus cb9b1c4
remove unused file
anjaniacatus 1896b5a
remove profession, country and city of travel
anjaniacatus b62f9b8
ignore dev_db conf on remote
anjaniacatus 4c68a1d
fix test
anjaniacatus 68865c0
add some package for testing
anjaniacatus 8dcb61c
cleanup dev db
anjaniacatus a9b4d05
ruff check
anjaniacatus 5687dfb
readd redondant url for wagtail
anjaniacatus e5b7927
add some test for sendinf email
anjaniacatus 6090b7c
adjust workflow
anjaniacatus 7e00974
.
anjaniacatus 4fad492
fix failing test on the Ci
anjaniacatus f5202f5
debug test ci
anjaniacatus 5a520d4
debug test ci
anjaniacatus d108edc
debug test ci : API mailjet Exception
anjaniacatus 0391d5f
remove debugging print
anjaniacatus 6a83859
passing email value
anjaniacatus a15f42b
fix : traiting total amount and dudget details
anjaniacatus f51e75a
fix some details
anjaniacatus 6e334a4
do mot use decouple, for consistency reason
anjaniacatus 711349d
remove redondant test
anjaniacatus cda1e5a
covering grants code to 100%
anjaniacatus 4b15eb9
Merge branch 'djangocon:main' into check_grant_status_feat
anjaniacatus 58a9ff8
fix: prevent email enumeration
theShinigami fe76eef
refactor: put email template in separate directory
theShinigami File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # grants/admin.py | ||
| from django.contrib import admin | ||
| from .models import GrantApplication, VerificationCode | ||
|
|
||
|
|
||
| @admin.register(GrantApplication) | ||
| class GrantApplicationAdmin(admin.ModelAdmin): | ||
| list_display = ("full_name", "email", "status", "grant_type", "timestamp") | ||
| list_filter = ("status", "grant_type") | ||
| search_fields = ("full_name", "email") | ||
|
|
||
|
|
||
| @admin.register(VerificationCode) | ||
| class VerificationCodeAdmin(admin.ModelAdmin): | ||
| list_display = ("email", "code", "created_at", "expires_at") | ||
|
|
||
|
|
||
| # Register your models here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| from django.apps import AppConfig | ||
|
|
||
|
|
||
| class GrantsConfig(AppConfig): | ||
| default_auto_field = "django.db.models.BigAutoField" | ||
| name = "grants" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to move the
LOGGINGconfiguration to the appropriate environment specific settings rather than adding it to the base settings.