Code Monkey home page Code Monkey logo

django-mail-queue's People

Contributors

aaronschif avatar amanda-wee avatar andyclegg avatar blodone avatar dstegelman avatar goury avatar hggh avatar itcrab avatar jirikr avatar josesanch avatar keithbauer avatar kostyaeremin avatar kryogenic avatar matt-deacalion avatar mxsasha avatar nielsonsantana avatar o-zander avatar pinda avatar pixpaws avatar rspeed avatar skyahead avatar someguy123 avatar unformatt avatar willianbriotto avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

django-mail-queue's Issues

Un-generated mailqueue migration - Add to source control?

Hello, it appears that mailqueue has a pending migration that has not been generated or added to source control. Would you be willing to add it?

Whenever I add django-mail-queue on a new project and run manage.py, I get the following message warning about it:

$ python manage.py migrate
Operations to perform:
Apply all migrations: ... mailqueue, ...
Running migrations:
No migrations to apply.
Your models have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.`

I can manually generate this and apply it, and then the warning goes away:

$ python manage.py makemigrations
Migrations for 'mailqueue':
.../site-packages/mailqueue/migrations/0007_auto_20200316_1129.py
- Alter field file_attachment on attachment
- Alter field sent on mailermessage

$ python manage.py migrate
Operations to perform:
Apply all migrations: ... mailqueue, ...
Running migrations:
Applying mailqueue.0007_auto_20200316_1129... OK

However, it would be great if this could be generated and added to the existing django-mail-queue package. Thanks!

mailqueue.Attachment: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.

System check identified some issues:

WARNINGS:
mailqueue.Attachment: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
	HINT: Configure the DEFAULT_AUTO_FIELD setting or the MailQueueConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
mailqueue.MailerMessage: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
	HINT: Configure the DEFAULT_AUTO_FIELD setting or the MailQueueConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.

I'm getting this warning when running Django 3.2.12 with django-mail-queue 3.2.4. I believe its coming from this package. Is this something you'd accept a Pull Request for?

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.