Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding products inventory/register #15

Open
kkoci opened this issue Aug 11, 2015 · 10 comments
Open

Adding products inventory/register #15

kkoci opened this issue Aug 11, 2015 · 10 comments

Comments

@kkoci
Copy link
Contributor

kkoci commented Aug 11, 2015

I'm on http://127.0.0.1:8000/inventory/

No matter if I'm on UPC or PLU, I just can't add anything =/, there's no button, am I missing something?

@maxolasersquad
Copy link
Owner

After typing in the PLU/UPC press the tab key, or click out of the form.

Are you seeing any error on the Javascript console?

@kkoci
Copy link
Contributor Author

kkoci commented Aug 11, 2015

Hi, yes tab works, but Enter doesn't it says 'Invalid UPC'

@maxolasersquad
Copy link
Owner

I just tried and did not have any problem adding a new Inventory item. What was the "upc" that was giving you problems?

@kkoci
Copy link
Contributor Author

kkoci commented Aug 16, 2015

Actually none, I was just trying to add one from /inventory url, if I try to add a PLU throws a server request error, but it registers it anyways, uh... I'm using chrome

@kkoci
Copy link
Contributor Author

kkoci commented Aug 16, 2015

Also, on /register there are some errors, can't figure out how it really works, gonna try and add some features asap

@maxolasersquad
Copy link
Owner

I am completely rewriting this part of the system right now to use a REST api. I'll check back with you when that's done.

@kkoci
Copy link
Contributor Author

kkoci commented Dec 7, 2015

Awesome! Really great, I'm thinking about adding some features myself, I'm working on it by my side, we can check it out later too, cheers!

@maxolasersquad
Copy link
Owner

That's great. Before you code anything put in a bug/feature request so we
can discuss. I know I've built features for projects before that ultimately
got rejects which is rather disheartening. I am currently working on moving
the interface to handling all of its interactions via a restful api.

On Mon, Dec 7, 2015 at 1:34 PM kristian koci notifications@github.com
wrote:

Awesome! Really great, I'm thinking about adding some features myself, I'm
working on it by my side, we can check it out later too, cheers!


Reply to this email directly or view it on GitHub
#15 (comment)
.

@kkoci
Copy link
Contributor Author

kkoci commented Dec 7, 2015

Yes, it is disheartening for sure, Okay, I'll do it that way then, Thank You

@jaustinlam
Copy link

I am having a similar issue. I can add an item through a PLU but adding through a UPC gives me:
AssertionError: ("Creating a ModelSerializer without either the 'fields' attribute or the 'exclude' attribute has been deprecated since 3.3.0, and is now disallowed. Add an explicit fields = '__all__' to the GrocerySerializer serializer.",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants