summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202020-03-02 15:41:57 +0530
committerSashi202020-03-02 15:41:57 +0530
commitaa26e64d6092f0e4b25fb6ac74c9dcde649fb951 (patch)
tree5bf4bbc375347a3495de9607f870d25b6bd6a42a
parent7590b51f3a31c989d110eed4e132ea23c6c49afd (diff)
downloadarduino_projects_website-aa26e64d6092f0e4b25fb6ac74c9dcde649fb951.tar.gz
arduino_projects_website-aa26e64d6092f0e4b25fb6ac74c9dcde649fb951.tar.bz2
arduino_projects_website-aa26e64d6092f0e4b25fb6ac74c9dcde649fb951.zip
Modify text into paragraphs
-rw-r--r--arduino_blog/models.py2
-rw-r--r--arduino_blog/templates/home.html20
-rwxr-xr-xarduino_projects_website/config.py2
-rw-r--r--arduino_projects_website/settings.py5
4 files changed, 12 insertions, 17 deletions
diff --git a/arduino_blog/models.py b/arduino_blog/models.py
index b8c60c8..84c6bd0 100644
--- a/arduino_blog/models.py
+++ b/arduino_blog/models.py
@@ -117,7 +117,7 @@ class Proposal(BaseClass):
email = models.CharField(max_length=128)
title_of_the_project = models.CharField(max_length=250)
abstract = models.TextField(max_length=700)
- attachment = models.FileField(upload_to=get_document_dir)
+ #attachment = models.FileField(upload_to=get_document_dir)
status = models.CharField(max_length=100, default='Pending', editable=True)
completion_date = models.DateTimeField(null=True, blank=True)
approval_date = models.DateTimeField(null=True, blank=True)
diff --git a/arduino_blog/templates/home.html b/arduino_blog/templates/home.html
index b7f99fd..ddf9e7f 100644
--- a/arduino_blog/templates/home.html
+++ b/arduino_blog/templates/home.html
@@ -10,19 +10,13 @@
<div class="container">
<h1>Open Source Hardware Project</h1>
<p class="lead text-muted text-justify">
- Back in 2005, a group of students envisaged a world where they have affordable access to digital devices,
- that they can interact with the environment using sensors and microcontrollers. Fast forward 15 years and Arduino has
- become a household name in the community of not just students, but also novices, professionals and DIY makers.
- The formidable headway that was brought about has given courage and vision to all the opensource hardware projects
- henceforth. We at FOSSEE also became a part by adopting the platform, and using it to teach Electronics across India.
- The learning resources, both hardware and lectures, put together by the Opensource-hardware team of FOSSEE and
- Spoken Tutorial has already demonstrated effective learning.
- Here, we are here providing you a platform for showcasing your ambitious projects, forming a community around the
- users and become part of our opensource-hardware activities. We are inviting proposals from you, those who have implemented
- projects using Arduino or are in the process, to contribute the documentation/DIY instructions of their projects.
- We promise to put together a well presented, shareable documentation of your project in our website.
- Every contributor can thus build an online portfolio which they can take pride in and may also land them a job one day!
- Please signup and make a profile for proposal submission right away and become one of the first contributors!
+ Back in 2005, a group of students envisaged a world where they have affordable access to digital devices, that they can interact with the environment using sensors and microcontrollers. Fast forward 15 years and Arduino has become a household name in the community of not just students, but also novices, professionals and DIY makers. The formidable headway that was brought about has given courage and vision to all the opensource hardware projects henceforth. We at FOSSEE also became a part by adopting the platform, and using it to teach Electronics across India. The learning resources, both hardware and lectures, put together by the Opensource-hardware team of FOSSEE and Spoken-tutorial has already demonstrated effective learning.
+ </p>
+ <p class="lead text-muted text-justify">
+ Here, we are here providing you a platform for showcasing your ambitious projects, forming a community around the users and become part of our opensource-hardware activities. We are inviting proposals from you, those who have implemented projects using Arduino or are in the process, to contribute the documentation/DIY instructions of their projects. We promise to put together a well presented, shareable documentation of your project in our website. Every contributor can thus build an online portfolio which they can take pride in and may also land them a job one day!
+ </p>
+ <p class="lead text-muted text-justify">
+ Please signup and make a profile for proposal submission right away and become one of the first contributors!
</p>
<p>
<a href="{% url 'arduino_blog:submitabstract' %}" class="btn btn-primary my-2">Contribute first</a>
diff --git a/arduino_projects_website/config.py b/arduino_projects_website/config.py
index fcf9bdf..197236f 100755
--- a/arduino_projects_website/config.py
+++ b/arduino_projects_website/config.py
@@ -8,7 +8,7 @@ SYSADMINS = 'email@email'
SYS_SERVER_EMAIL = 'email@email'
ALLOWED_HOSTS_USER = ['127.0.0.1']
-SECRET_KEY_USER = '' # enter secret key
+SECRET_KEY_USER = '7*guu@#er)o2543z-5df$e%)_&&3!ez$!x7$!qtyr4ejj+p*0&' # enter secret key
DEBUG_USER = True
TO_EMAIL = 'email@email'
diff --git a/arduino_projects_website/settings.py b/arduino_projects_website/settings.py
index 8e1b509..78ac346 100644
--- a/arduino_projects_website/settings.py
+++ b/arduino_projects_website/settings.py
@@ -132,9 +132,10 @@ STATIC_ROOT = 'arduino_blog/static/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'uploads')
MEDIA_URL = "/downloads/"
-#EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
-EMAIL_BACKEND = "django.core.mail.backends.filebased.EmailBackend"
+EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
+#EMAIL_BACKEND = "django.core.mail.backends.filebased.EmailBackend"
EMAIL_FILE_PATH = os.path.join(BASE_DIR, "sent_emails")
ACCOUNT_DEFAULT_HTTP_PROTOCOL = "https"
SENDER_EMAIL = SENDER_EMAIL
BCC_EMAIL_ID = BCC_EMAIL_ID
+