Example #1
0
# Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from dbindexer import autodiscover
autodiscover()

import search
search.autodiscover()
Example #2
0
from pirate_login.views import logout_view
from pirate_consensus.views import set_ranked_vote, confirm_ranked_vote, del_confirm_ranked_vote
from oa_location.views import create_location, delete_location, load_markers

from pirate_sources.views import import_uploader

from oa_dashboard.views import del_board, add_board, sort_board, increase_zoom, decrease_zoom, resort_board

from oa_cache.views import load_page, nuke_memcache, update_ranks, side_effect, load_usersaltcache
from django.contrib.auth.views import password_reset, password_reset_done, password_reset_confirm

#autodiscovery

import search
try:
    search.autodiscover()
except:
    pass

from dbindexer import autodiscover
autodiscover()

admin.autodiscover()

#patterns

parser = dselector.Parser()
parser.register("file", r'[\w0-9\_]+\.?[\w0-9\_]*')

urlpatterns = patterns('',
    (r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '/static/favicon.ico'}),
Example #3
0
#from dbindexer import autodiscover
#autodiscover()

from search import autodiscover
autodiscover()