Giter VIP home page Giter VIP logo

pyeditorial's People

Contributors

bachetesla avatar bhavyaseth-afk avatar dependabot[bot] avatar farhadmpr avatar jonascarvalh avatar lucifertrj avatar mavenium avatar mnamaki avatar thejasmeetsingh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pyeditorial's Issues

No such table: content_blog

I could not run the project.
After executing the required commands, I get the following error when executing:
no such table: content_blog

Skill Icon Name

What is the use of the Icon name column in skills section. How to use that column so that it will show proper icon as shown in the screenshots provided by you..

no such table: content_blog

It maybe an issue caused by me cause I'm not experienced. I followed the instrutions on readme file accordingly (also migrated througly). When I ran the site it gave me " In template /home/melvinger/Desktop/editorial /PyEditorial-master/templates/base.html, error at line 0" in the debug with "no such table: content_blog". This error occured in admin page too when i tried to access admin/content/blog/ with "no such table: content_blogcategory) ". Tried to figure out the issue but cant. I know its an old project still if you return i will be glad.
Screenshot from 2022-09-21 08-46-46

[Question] Why ignore migrations in version control?

Hi, guys!

When setting up the project, I realized that the app's migrations are not being committed, and we're actually instructing running
python manage.py makemigrations during setup.

Although it may seem irrelevant now to keep migrations in version control, after deploying a production database (or after multiple developers build their long lived databases), saving migrations will allow us to apply changes to our database without having to tear it down.

Was there a specific reason for .gitignoring migrations?

requirement.txt version conflict

The project can't be built because "asgiref" and "django" versions are conflicting.

asgiref==3.3.1
django 3.2.24 depends on asgiref<4 and >=3.3.2

Adding Postgresql as a DB ?

In CRMs there are a lot of datastore and being fast is so important, I thought it would be great if we try to add PostgreSQL as a Database to the project and add a Setting to manage and switch between Database as:

# in setting.py
# -- Snip
Postgres = True
if Postgres:
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': ‘<db_name>’,
          'USER': '<db_username>',
          'PASSWORD': '<password>',
          'HOST': '<db_hostname_or_ip>',
          'PORT': '<db_port>',
      }
  }
else:
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
      }
  }

Also, we can add Postgres to Docker PR #20
Let me know your opinion and if I can work on it.

AE

sqlite3.OperationalError: no such table: content_blog

Getting this error while running the project via docker:

pyeditorial-web-1  | Traceback (most recent call last):
pyeditorial-web-1  |   File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
pyeditorial-web-1  |     return self.cursor.execute(sql, params)
pyeditorial-web-1  |   File "/usr/local/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 413, in execute
pyeditorial-web-1  |     return Database.Cursor.execute(self, query, params)
pyeditorial-web-1  | sqlite3.OperationalError: no such table: content_blog

Although i fixed this issue as part of this PR. Just creating this issue for reference purposes.

no such table: content_blog

When I tried to install using the readme instructions. This error message appeared. When I saw the sqlite file this table is missing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.