Big commit for the StudyAbroad project.

Templates- Created an aboutus, main, and profiles html templates.  I will later go back and make them better.  For now, if you click on the lik on the nav bar, it will navigate to these pages.
Admin- Adjusted the admin so that I can see the Latitude and Longitude in the map model.
Json_views & serializers-  Made these both geo friendly for the map model.
Base-  I used the bootstrap to make the nav bar.  I will need to format it to go with my project.  It is still a work in progress.

Still a work in progress, but I fixed the database and rigged the admin to show my lat & long.
Database management and OSM admin.

I did a little more with my database management.  I need to look at adding photos in to my models.  I was missing the __init__.py in my fixtures directory, but that still didn't help load in the data.  I changed some inconsistencies in my serializers and json_views.  I changed the admin and urls to make them OpenStreetMap Admin friendly.  I can now view streets in the geom part in the admin.
Urls update and map model fixed.

I changed the url so I have a plain main page-- I can just type in 127.0.0.800/ and it'll take me to the main page.
I also changed the map model to work the way that I want it to.  The admin can go into the model and place any point on the map; however, they can override this point by typing in the Latitude and Longitude that they want.  I originally had:
        self.Latitude = self.geom.y
        self.Longitude = self.geom.x

        but it need to be this:

         self.geom.y = self.Latitude
        self.geom.x = self.Longitude

  Next step in the backend: work on adding pictures
Updated API and added student profiles

I changed the serializers and json_views so that the API will show all of the data associated with the student model.  I also added a student_detail.html... When the user goes to browse profiles, a list template will display all of the students in the database.  I want it so that when the user clicks on a name, it will go to that profile.  Right now it does that, but it is not showing any data for that student.

I also changed the main page to just be the "127.0.0.1:8000" instead of "127.0.0.1:8000/berlin/main" --therefore I had to change all of the links in the navbar and carousel buttons
Added map and changed navbar.css

I created a map in mapbox and linked all of the correct sites to the base.html
popular_places.html is where you can find the map displayed. The map currently goes straight to the berlin bookmark.

Detailed student-  I added a url called "profiles" where it displays all of the students in one page.  The detailed view then goes to the student for each id.  The url is then changed to : http://127.0.0.1:8000/profiles/1/
where "1" is the pk for the student.  This detailed view displays the name, major, school, and classes that were taken in the class.

Navbar-  I added the static folder and added a navbar.css to add color to my navbar.  The colors are maroon, white, and black.  I added a link to it on my base.html

Main page- I added three circle images to the jumbotron.  I plan on adding pictures of Berlin on the front page-- I will eventually make these clickable and take the user to another page.  I also added a form to the front page.  It doesn't work yet, but this is where the user will sign in to add photos or popular places on the map.
data-  This data folder holds the shapefile of the colleges that the students go to that went to Berlin

templates-  This is just a simple html file that loads in the mapbox view of my Georgia bookmark.  I plan on using the API to pull in the points of the colleges that I geocoded.  I want to map out and see what school has the most students that went to Berlin

admin- I simply just added the Georgia model to see it in the admin page.  I might take it out since I do not plan on changing or adding any data

api_urls, json_views, serializers-  After I loaded in the shapefile,  I created an api url to use to see the data of the shapefile.  I also created the correct json_view and serializer for it.  To access the API, use the url : /api/v1/georgia

load-  I used the GeoDjango tutorial and walked through how to add a shapefile into my database.
https://docs.djangoproject.com/en/dev/ref/contrib/gis/tutorial/

base.html nav bar -- I didn't add that much.  I changed the "stuff" place holder and added "Georgia maps" to the nav bar.  When clicked, it will display the georgia.html page which shows the mapbox georgia map that I created. This is where people will view the shapefile that I loaded.
Changed the model "Map" to "Popular_Places"

I went through the Django Project and changed where it said "Map" to "Popular_Places" because the name makes more sense.  Since my project will have at least two maps, it doesn't make sense to have one model called "map".  I called it "Popular_Places" because this model will hold all of the data of the popular places we went to in Berlin.
I cannot get the shapefile that I loaded to work with my mapbox map, so I might work with Leaflet.  Pushing so I have something to pull down in case that doesn't work.
Added Registration and changed navbar colors

I changed the navbar colors so they are a nice grassy green instead of a maroon red.  The nav bar now matches the "sign in" button on the main page.  On the main page, I temporally took out the pictures on the front.  I will eventually go in and add photos of my own.  I used the Django-Registration-redux for my registration.  I made sure it was installed in my settings, and added it to my settings.py.  Next, I followed the directions on the documentation page and added the login.html, logout.html, registration_complete.html, and registration_form.html.
I also added the "login" and "register" buttons to the nav bar.  If the user is already logged in, it will say logout instead.  If the user is the admin of the site, a nice "admin" button will appear.  I wanted there to be a form on the main page where the user can just input from there, but I couldn't get that to work so I just added a button.  In addition, I added "LOGIN_REDIRECT_URL = '/'"  in my settings so once the user logs in, it redirects them to the main page.
Next, I will need to make the browse profiles page only accessible to those who have an account.  Still a work in progress, but I still have a lot to work.
Displaying data on Georgia Map

I added some javascript/jQuery for my Georgia map.  When the user goes to the Georgia map, the map of Georgia is displayed with all of the schools on the map.  I made the schools red circle to make them stand out.  I had the default pointer, but wanted to change it up a little.  When the user clicks on the school, a little pop up appears and it says how many number of students from that school went to Berlin.  I would like for the link that pops up to display all of the students from that school that went or the school's website.  I'm still undecided on that part.  This spatial model is pretty much done.  Now that I have tested out adding and loading shapefiles and displaying data on the map from the API, I will compile all of the popular_places and do it again but for that spatial model.
Popular Places map works

I changed the name of the popular places map to "popular_places_map" so I could use the name "popular_places" to list out all of the places in my database.  When you click on the name of the place, it will take you to the detailed view of the place with the name, geom, lat, and long.  I think I will need to destroy my database so I can add a description field and a photo field to display on the detailed view.  So since I changed the name, I had to change the urls and views names.  I also added the detailed view to the urls and views-- I pretty much just copied what I had for the students detailed view and changed the names.  Since the map is now displaying on "popular_places_map", I went into the base.html and changed the path for the popular places map.

While on the map of the popular places, the places are orange circles.  When you click on the point, the name pops up.  If you click on the name, it will re-direct you to the detailed view.

Since I am thinking about blowing up my database next, I copied the student data and placed it in the initial_data.json so I can just re-add it later.
Adding pictures to the popular_places detail page

I did a lot of research in how to display pictures on the page without using Amazon S3.  I created an Image model and put it in the admin.  When the user goes to the admin, they click on the place they want to add the image to.  The image will then save with that foreign key.  I have the popular_places detail page pull in the images with its name.  The images are being saved in Pycharm but not in the database...?  I'm a little confused on that part, but I plan on this just being a project and not deploying it.  I also adjusted the urls and media roots so that they fit with the images.  I decided to add a type and description to the popular places model; I'm not sure why I didn't do that early.  Now, I will re-do my database and reload the data.  Then I can upload some pictures to go along with the pages.  After that, I will re-design the popular_pages_detail page, and then try and maybe work with the map.  I'm definitely on the ball--looking forward to the finished project.
Took away features to make people create an account

I adjusted my site so that people will have to create an account and log in to access the full site.  When a user logs in, they will have access to the full navigation bar (Home, About Us, Browse Profiles, and Maps).  When they go to the home page, they will be greeted with a welcome message and a button that links them to the Map of Berlin.  If a user is not logged in, they will only have "Home and About Us" on their nav bar.  On the Home page, they will be greeted with a brief message about what the site is about and a button that will forward them to a registration page.
Create form for Popular_Places and html clean up

I created a form for my popular places model.  When the user goes to the popular places map, an orange button will appear at the top of the screen that says "Add a Point."  When the user clicks this, it takes them to "/create/" which has the form for them to fill out.  Right now, I have it displaying correctly, and if the user does input something, it gives them a successful url (just the home page); however, it isn't saving to the database...I will need to look at it next.

In my Main.html, I fixed how it looks depending who is looking at it.  When a user isn't logged in, a green "Sign In" button appears.  When the user logs in, that button disappears.  I also made the popular places detail paged center.  As far as database goes, I re-entered the student data and added some pictures to my local machine to display on the popular_places detail page.
Updated About Us.html

Added a short bio for the about us page.
Merge pull request #1 from clsmit8703/development

Development to Master