# Path: User/models.py
# class Expert(models.Model):
# 	"""docstring for Farmer"""
# 	auto_id = models.AutoField(primary_key=True)
# 	name = models.CharField(max_length=30)
# 
# 	user_id = models.EmailField(max_length=30,unique=True)
# 	user_pwd = models.CharField(max_length=30)
# 
# 	contact = models.BigIntegerField()
# 	
# 	location = models.ForeignKey(Location, on_delete=models.CASCADE)
# 
# 	join_timestamp = models.DateTimeField(auto_now=False,auto_now_add=True)
# 	
# 	def __unicode__(self):
# 		return self.name
# 	def __str__(self):
# 		return self.name
# 
# Path: User/models.py
# class Farmer(models.Model):
# 	"""docstring for Farmer"""
# 	auto_id = models.AutoField(primary_key=True)
# 	name = models.CharField(max_length=30)
# 
# 	user_id = models.EmailField(max_length=30,unique=True)
# 	user_pwd = models.CharField(max_length=100)
# 
# 	contact = models.BigIntegerField()
# 	
# 	location = models.ForeignKey(Location, on_delete=models.CASCADE)
# 
# 	join_timestamp = models.DateTimeField(auto_now=False,auto_now_add=True)
# 	
# 	def __unicode__(self):
# 		return self.name
# 	def __str__(self):
# 		return self.name


from django.contrib import admin
from .models import Expert
from .models import Farmer
# -*- coding: utf-8 -*-
from __future__ import unicode_literals


# Register your models here.

class FarmerModelAdmin(admin.ModelAdmin):
	"""docstring for PostModelAdmin"""
	class Meta:

# Path: User/models.py
# class Expert(models.Model):
# 	"""docstring for Farmer"""
# 	auto_id = models.AutoField(primary_key=True)
# 	name = models.CharField(max_length=30)
# 
# 	user_id = models.EmailField(max_length=30,unique=True)
# 	user_pwd = models.CharField(max_length=30)
# 
# 	contact = models.BigIntegerField()
# 	
# 	location = models.ForeignKey(Location, on_delete=models.CASCADE)
# 
# 	join_timestamp = models.DateTimeField(auto_now=False,auto_now_add=True)
# 	
# 	def __unicode__(self):
# 		return self.name
# 	def __str__(self):
# 		return self.name
# 
# Path: User/models.py
# class Farmer(models.Model):
# 	"""docstring for Farmer"""
# 	auto_id = models.AutoField(primary_key=True)
# 	name = models.CharField(max_length=30)
# 
# 	user_id = models.EmailField(max_length=30,unique=True)
# 	user_pwd = models.CharField(max_length=100)
# 
# 	contact = models.BigIntegerField()
# 	
# 	location = models.ForeignKey(Location, on_delete=models.CASCADE)
# 
# 	join_timestamp = models.DateTimeField(auto_now=False,auto_now_add=True)
# 	
# 	def __unicode__(self):
# 		return self.name
# 	def __str__(self):
# 		return self.name


# Path: User/admin.py
from django.contrib import admin
from .models import Expert
from .models import Farmer

# -*- coding: utf-8 -*-
from __future__ import unicode_literals


# Register your models here.

class FarmerModelAdmin(admin.ModelAdmin):
	"""docstring for PostModelAdmin"""
	class Meta:

		model = Farmer