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

Url Shortening simple web application #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

OmarManzoor
Copy link
Owner

All the files committed and need a review


class UrlMap(models.Model):
word = models.ForeignKey(Wordlist, blank=True, null=True)
url_actual = models.CharField(max_length=300)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@OmarManzoor
you should use the Django URL field here.

@verdanmahmood
Copy link

@OmarManzoor you missed the Test Cases here. (as stated in the doc)

@OmarManzoor
Copy link
Owner Author

Made corrections and changes in the code by using a datetime for Words in the model to keep track of when that word was entered and updated. Also used a URL field for keeping track of the original url. Also made class based views and added some tests

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

Successfully merging this pull request may close these issues.

2 participants