title: Can't login into Django admin 404 error
body: <p>I currently cannot log into my admin in Django, I get a 404 page. </p>
  
  <pre><code>Page not found (404)
  Request Method: GET
  Request URL:    http://127.0.0.1:8000/admin
  No Blog entry found matching the query
  </code></pre>
  
  <p>UPDATE #3 </p>
  
  <p><strong>Last Updated:</strong> Dec 17, 10 AM</p>
  
  <p><strong>Status:</strong> Still unresolved, could use some help</p>
  
  <ul>
  <li><strong>I've updated the error message at the top of this post, and yes, the error message is short.</strong></li>
  <li>I've included the url.py for the actual project, in addition to the app called blog.</li>
  <li>Fixed the migrations being out of sync</li>
  <li>There is no longer an error in the Terminal</li>
  <li>The problem might lie somewhere in models, views or urls.py</li>
  </ul>
  
  <p><strong>THE SUSPECTS</strong></p>
  
  <p>This code snippet relates to "startproject takehome"</p>
  
  <p><strong>urls.py</strong></p>
  
  <pre><code>from django.conf.urls import patterns, include, url
  from django.contrib import admin
  
  urlpatterns = patterns(
      '',
      url(r'^admin/', include(admin.site.urls)),
      url(r'^markdown/', include("django_markdown.urls")),
      url(r'^', include('blog.urls')),
  )
  </code></pre>
  
  <p><strong>settings.py</strong> </p>
  
  <pre><code>INSTALLED_APPS = (
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
  
      'blog',
      'django_markdown',
  )
  </code></pre>
  
  <p>These three code snippets relate to the app called "Blog"</p>
  
  <p><strong>Urls.py</strong></p>
  
  <pre><code>from django.conf.urls import patterns, url
  from . import views
  
  urlpatterns = patterns(
      '',
      url(r'^$', views.BlogIndex.as_view(), name="list"),
      url(r'^(?P&lt;slug&gt;\S+)$', views.BlogDetail.as_view(), name="detailed"),
  )
  </code></pre>
  
  <p><strong>Models.py</strong></p>
  
  <pre><code>from django.db import models
  from django.core.urlresolvers import reverse
  
  # Create your models here.
  class FullArticleQuerySet(models.QuerySet):
      def published(self):
          return self.filter(publish=True)
  
  class FullArticle(models.Model):
      title = models.CharField(max_length=150)
      author = models.CharField(max_length=150)
      slug = models.SlugField(max_length=200, unique=True)
      pubDate = models.DateTimeField(auto_now_add=True)
      updated = models.DateTimeField(auto_now=True)
      category = models.CharField(max_length=150)
      heroImage = models.CharField(max_length=250, blank=True)
      relatedImage =  models.CharField(max_length=250, blank=True)
      body =  models.TextField()
      publish = models.BooleanField(default=True)
      gameRank = models.CharField(max_length=150, blank=True, null=True)
  
      objects = FullArticleQuerySet.as_manager()
  
      def __str__(self):
          return self.title
  
      def get_absolute_url(self):
          return reverse("FullArticle_detailed", kwargs={"slug": self.slug})
  
      # def random(self):
      #   return self.get_queryset().order_by('?').values('title','author','heroImage','body').first()
  
      class Meta:
          verbose_name = "Blog entry"
          verbose_name_plural = "Blog Entries"
          ordering = ["-pubDate"]
  </code></pre>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>from django.views import generic
  from . import models 
  
  # Create your views here.
  class BlogIndex(generic.ListView):
      queryset = models.FullArticle.objects.published()
      template_name = "list.html"
      # paginate_by = 2
  
  class BlogDetail(generic.DetailView):
      model = models.FullArticle
      template_name = "detailed.html"
  
  # random = models.FullArticle.objects.order_by('?').values('title','author','heroImage','body').first()
  </code></pre>