title: Why is my django url regex not working
body: <p>I want my url to accept 0 or more digits(positive or negative integers), I mean it should match '/','/0',...,'/9' as well as '/-9','/-88' etc.</p>
  
  <p>This is the regex I am using <code>^([-]?[0-9]*)/$</code> . It works for all urls except '/', what is the problem with this regex?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>This is my urlpatterns in urls.py in project directory:</p>
  
  <pre><code>urlpatterns = [
      url(r'^admin/', admin.site.urls),
      url(r'',include('basecalendar.urls'), name='date'),
  ]
  </code></pre>
  
  <p>and this is urlpattern for basecalendar</p>
  
  <pre><code>urlpatterns=[
      url(r'^([-]?[0-9]*)/$',views.get_date),
  ]
  </code></pre>