mirror of
https://github.com/daniviga/django-ram.git
synced 2026-11-24 21:08:32 +01:00
Rename DCC project into RAM
RAM: Railroad Assets Manager
This commit is contained in:
77 files changed
+16
-16
No files matched your search
+1
-1
@@ -129,5 +129,5 @@ dmypy.json
|
||||
.pyre/
|
||||
|
||||
*.swp
|
||||
dcc/storage
|
||||
ram/storage
|
||||
arduino/CommandStation-EX/build/
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -10,7 +10,7 @@ from rest_framework.permissions import (
|
||||
SAFE_METHODS
|
||||
)
|
||||
|
||||
from dcc.parsers import PlainTextParser
|
||||
from ram.parsers import PlainTextParser
|
||||
from driver.models import DriverConfiguration
|
||||
from driver.connector import Connector
|
||||
from driver.serializers import (
|
||||
@@ -6,7 +6,7 @@ import sys
|
||||
|
||||
def main():
|
||||
"""Run administrative tasks."""
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dcc.settings")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ram.settings")
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError as exc:
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -3,7 +3,7 @@ from django.conf import settings
|
||||
from django.dispatch.dispatcher import receiver
|
||||
from django_countries.fields import CountryField
|
||||
|
||||
from dcc.utils import get_image_preview, slugify
|
||||
from ram.utils import get_image_preview, slugify
|
||||
|
||||
|
||||
class Property(models.Model):
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,7 +1,7 @@
|
||||
import django
|
||||
from django.db import models
|
||||
|
||||
from dcc import __version__ as app_version
|
||||
from ram import __version__ as app_version
|
||||
from solo.models import SingletonModel
|
||||
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,4 @@
|
||||
from dcc.utils import git_suffix
|
||||
from ram.utils import git_suffix
|
||||
|
||||
__version__ = '0.0.1'
|
||||
__version__ += git_suffix(__file__)
|
||||
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
ASGI config for dcc project.
|
||||
ASGI config for ram project.
|
||||
|
||||
It exposes the ASGI callable as a module-level variable named ``application``.
|
||||
|
||||
@@ -11,6 +11,6 @@ import os
|
||||
|
||||
from django.core.asgi import get_asgi_application
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dcc.settings")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ram.settings")
|
||||
|
||||
application = get_asgi_application()
|
||||
File renamed without changes.
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
Django settings for dcc project.
|
||||
Django settings for ram project.
|
||||
|
||||
Generated by 'django-admin startproject' using Django 4.0.
|
||||
|
||||
@@ -46,7 +46,7 @@ INSTALLED_APPS = [
|
||||
"solo",
|
||||
"rest_framework",
|
||||
"adminsortable2",
|
||||
"dcc",
|
||||
"ram",
|
||||
"portal",
|
||||
"driver",
|
||||
"metadata",
|
||||
@@ -64,7 +64,7 @@ MIDDLEWARE = [
|
||||
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|
||||
]
|
||||
|
||||
ROOT_URLCONF = "dcc.urls"
|
||||
ROOT_URLCONF = "ram.urls"
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
@@ -82,7 +82,7 @@ TEMPLATES = [
|
||||
},
|
||||
]
|
||||
|
||||
WSGI_APPLICATION = "dcc.wsgi.application"
|
||||
WSGI_APPLICATION = "ram.wsgi.application"
|
||||
|
||||
|
||||
# Database
|
||||
@@ -1,4 +1,4 @@
|
||||
"""dcc URL Configuration
|
||||
"""ram URL Configuration
|
||||
|
||||
The `urlpatterns` list routes URLs to views. For more information please see:
|
||||
https://docs.djangoproject.com/en/4.0/topics/http/urls/
|
||||
File renamed without changes.
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
WSGI config for dcc project.
|
||||
WSGI config for ram project.
|
||||
|
||||
It exposes the WSGI callable as a module-level variable named ``application``.
|
||||
|
||||
@@ -11,6 +11,6 @@ import os
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dcc.settings")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ram.settings")
|
||||
|
||||
application = get_wsgi_application()
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -5,7 +5,7 @@ from django.db import models
|
||||
# from django.core.files.storage import FileSystemStorage
|
||||
# from django.dispatch import receiver
|
||||
|
||||
from dcc.utils import get_image_preview
|
||||
from ram.utils import get_image_preview
|
||||
from metadata.models import (
|
||||
Property,
|
||||
Scale,
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user